|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.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 ClientAgentRemote
java.lang.Exception
java.rmi.RemoteException
public boolean isDownloadAllowed(java.lang.String downloadFileName) throws java.rmi.RemoteException
isDownloadAllowed
in interface ClientAgentRemote
java.rmi.RemoteException
public void removeDownloadFileName(java.lang.String downloadFileName)
removeDownloadFileName
in interface ClientAgentRemote
public void denyDownload(java.lang.String downloadFileName)
denyDownload
in interface ClientAgentRemote
public void denyDownload(java.io.File file)
denyDownload
in interface ClientAgentRemote
public void runApp(boolean wait) throws AjaxSwingException, java.rmi.RemoteException
runApp
in interface ClientAgentRemote
AjaxSwingException
java.rmi.RemoteException
public void shutdown()
shutdown
in interface ClientAgentRemote
public HttpResponseData processHttpRequest(HttpRequestData request) throws java.lang.Exception, java.rmi.RemoteException
processHttpRequest
in interface ClientAgentRemote
java.lang.Exception
java.rmi.RemoteException
public HttpResponseData renderWindows(HttpRequestData request) throws java.lang.Exception, java.rmi.RemoteException
renderWindows
in interface ClientAgentRemote
java.lang.Exception
java.rmi.RemoteException
public void unreferenced()
unreferenced
in interface java.rmi.server.Unreferenced
public void ping() throws java.rmi.RemoteException
ping
in interface ClientAgentRemote
java.rmi.RemoteException
public long getSessionTimeout() throws java.rmi.RemoteException
getSessionTimeout
in interface ClientAgentRemote
java.rmi.RemoteException
public void setSessionTimeout(long seconds) throws java.rmi.RemoteException
setSessionTimeout
in interface ClientAgentRemote
java.rmi.RemoteException
public java.lang.String getExitPage() throws java.rmi.RemoteException
getExitPage
in interface ClientAgentRemote
java.rmi.RemoteException
public void setExitPage(java.lang.String pageName) throws java.rmi.RemoteException
setExitPage
in interface ClientAgentRemote
java.rmi.RemoteException
public java.util.Locale getUserLocale()
getUserLocale
in interface ClientAgentRemote
public AjaxSwingProperties getProps()
getProps
in interface ClientAgentRemote
public void setUserLocale(java.util.Locale currentLocale)
setUserLocale
in interface ClientAgentRemote
public java.lang.String getBrowserLocale()
getBrowserLocale
in interface ClientAgentRemote
public void setBrowserLocale(java.lang.String browserLocale)
setBrowserLocale
in interface ClientAgentRemote
public 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 ClientAgentRemote
java.rmi.RemoteException
public java.lang.String getCsrfToken() throws java.rmi.RemoteException
getCsrfToken
in interface ClientAgentRemote
java.rmi.RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |