|
||||||||||
| 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
creamtec.webcream.ClientAgentImpl
public class ClientAgentImpl
| Field Summary | |
|---|---|
static int |
instancesCount
|
| Constructor Summary | |
|---|---|
ClientAgentImpl(java.lang.String agentName,
java.lang.String appName)
|
|
| Method Summary | |
|---|---|
void |
init(AgentInitData data)
Initializes the client |
void |
ping()
Renews a lease on the agent. |
HttpResponseData |
processHttpRequest(HttpRequestData request)
Processes HTTP request |
HttpResponseData |
renderCurrentWindow(HttpRequestData request)
Renderes the currently focused window as HTML |
void |
runApp(boolean wait)
Runs the application/applet. |
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 data)
throws java.lang.Exception,
java.rmi.RemoteException
init in interface ClientAgentRemotejava.lang.Exception
java.rmi.RemoteException
public void runApp(boolean wait)
throws WebCreamException,
java.rmi.RemoteException
runApp in interface ClientAgentRemoteWebCreamException
java.rmi.RemoteExceptionpublic void shutdown()
shutdown in interface ClientAgentRemote
public HttpResponseData processHttpRequest(HttpRequestData request)
throws WebCreamException,
java.rmi.RemoteException
processHttpRequest in interface ClientAgentRemoteWebCreamException
java.rmi.RemoteException
public HttpResponseData renderCurrentWindow(HttpRequestData request)
throws WebCreamException,
java.rmi.RemoteException
renderCurrentWindow in interface ClientAgentRemoteWebCreamException
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||