|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
com.creamtec.ajaxswing.ClientAgentImpl
public class ClientAgentImpl
| Field Summary | |
|---|---|
static int |
instancesCount
|
| Constructor Summary | |
|---|---|
ClientAgentImpl(java.lang.String agentName,
java.lang.String appName)
|
|
| Method Summary | |
|---|---|
void |
denyDownload(java.io.File file)
Remove download file from msession by file |
void |
denyDownload(java.lang.String downloadFileName)
Remove download file from msession by name |
java.lang.String |
getBrowserLocale()
|
java.lang.String |
getCsrfToken()
|
java.lang.String |
getExitPage()
|
double |
getFontCalibrationData(java.lang.String fontName,
int fontSize,
boolean isCapital)
|
AjaxSwingProperties |
getProps()
|
long |
getSessionTimeout()
|
java.util.List |
getTempFiles()
|
java.util.Locale |
getUserLocale()
|
void |
init(AgentInitData initData,
HttpRequestData requestData)
Initializes the client |
boolean |
isDownloadAllowed(java.lang.String downloadFileName)
Returns true if the download of the given file name is allowed |
void |
ping()
Renews a lease on the agent. |
HttpResponseData |
processHttpRequest(HttpRequestData request)
Processes HTTP request |
void |
removeDownloadFileName(java.lang.String downloadFileName)
Remove download file from map waiting ready to download file |
HttpResponseData |
renderWindows(HttpRequestData request)
Renderes the currently focused window as HTML |
void |
runApp(boolean wait)
Runs the application/applet. |
void |
setBrowserLocale(java.lang.String browserLocale)
|
void |
setExitPage(java.lang.String pageName)
|
void |
setFontCalibrationData(java.lang.String allCalibrationData)
|
void |
setSessionTimeout(long seconds)
|
void |
setUserLocale(java.util.Locale currentLocale)
|
void |
shutdown()
Shutds down the agent |
void |
unreferenced()
Called when the Router no longer needs the Agent. |
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
|---|
clone, exportObject, exportObject, exportObject, unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
|---|
getClientHost, getLog, setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
|---|
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static int instancesCount
| Constructor Detail |
|---|
public ClientAgentImpl(java.lang.String agentName,
java.lang.String appName)
throws java.lang.Exception
java.lang.Exception| Method Detail |
|---|
public void init(AgentInitData initData,
HttpRequestData requestData)
throws java.lang.Exception,
java.rmi.RemoteException
init in interface ClientAgentRemotejava.lang.Exception
java.rmi.RemoteException
public boolean isDownloadAllowed(java.lang.String downloadFileName)
throws java.rmi.RemoteException
isDownloadAllowed in interface ClientAgentRemotejava.rmi.RemoteExceptionpublic void removeDownloadFileName(java.lang.String downloadFileName)
removeDownloadFileName in interface ClientAgentRemotepublic void denyDownload(java.lang.String downloadFileName)
denyDownload in interface ClientAgentRemotepublic void denyDownload(java.io.File file)
denyDownload in interface ClientAgentRemote
public void runApp(boolean wait)
throws AjaxSwingException,
java.rmi.RemoteException
runApp in interface ClientAgentRemoteAjaxSwingException
java.rmi.RemoteExceptionpublic void shutdown()
shutdown in interface ClientAgentRemote
public HttpResponseData processHttpRequest(HttpRequestData request)
throws java.lang.Exception,
java.rmi.RemoteException
processHttpRequest in interface ClientAgentRemotejava.lang.Exception
java.rmi.RemoteException
public HttpResponseData renderWindows(HttpRequestData request)
throws java.lang.Exception,
java.rmi.RemoteException
renderWindows in interface ClientAgentRemotejava.lang.Exception
java.rmi.RemoteExceptionpublic void unreferenced()
unreferenced in interface java.rmi.server.Unreferenced
public void ping()
throws java.rmi.RemoteException
ping in interface ClientAgentRemotejava.rmi.RemoteException
public long getSessionTimeout()
throws java.rmi.RemoteException
getSessionTimeout in interface ClientAgentRemotejava.rmi.RemoteException
public void setSessionTimeout(long seconds)
throws java.rmi.RemoteException
setSessionTimeout in interface ClientAgentRemotejava.rmi.RemoteException
public java.lang.String getExitPage()
throws java.rmi.RemoteException
getExitPage in interface ClientAgentRemotejava.rmi.RemoteException
public void setExitPage(java.lang.String pageName)
throws java.rmi.RemoteException
setExitPage in interface ClientAgentRemotejava.rmi.RemoteExceptionpublic java.util.Locale getUserLocale()
getUserLocale in interface ClientAgentRemotepublic AjaxSwingProperties getProps()
getProps in interface ClientAgentRemotepublic void setUserLocale(java.util.Locale currentLocale)
setUserLocale in interface ClientAgentRemotepublic java.lang.String getBrowserLocale()
getBrowserLocale in interface ClientAgentRemotepublic void setBrowserLocale(java.lang.String browserLocale)
setBrowserLocale in interface ClientAgentRemotepublic void setFontCalibrationData(java.lang.String allCalibrationData)
setFontCalibrationData in interface ClientAgentRemote
public double getFontCalibrationData(java.lang.String fontName,
int fontSize,
boolean isCapital)
getFontCalibrationData in interface ClientAgentRemote
public java.util.List getTempFiles()
throws java.rmi.RemoteException
getTempFiles in interface ClientAgentRemotejava.rmi.RemoteException
public java.lang.String getCsrfToken()
throws java.rmi.RemoteException
getCsrfToken in interface ClientAgentRemotejava.rmi.RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||