|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.javageeks.gjas.RMIServer
RMIServer wraps around another IServer (usually a LocalServer instance) to provide RMI-access.
Constructor Summary | |
RMIServer(IRemoteServerManager svrMgr,
long ID)
|
Method Summary | |
ConfigProperties |
getConfigInfo()
Returns the ConfigurationInfo instance to use for configuration |
java.lang.String |
getInstanceID()
Returns the instance ID of the wrapped Service. |
java.lang.Exception |
getLastError()
Returns the last Exception thrown, if any, by the wrapped Service. |
java.lang.String |
getState()
Returns the state of the wrapped Service. |
void |
kill()
Kills the wrapped Service. |
boolean |
pause()
Pauses the wrapped Service. |
boolean |
resume()
Resumes the wrapped Service. |
void |
setConfigInfo(ConfigProperties info)
Set the ConfigurationInfo instance for this Service |
boolean |
start()
Start the wrapped Service instance. |
boolean |
stop()
Stop the wrapped Service instance; as with start , the Service
gets 15 seconds to stop itself before the ServerManager is free to take
more drastic steps. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RMIServer(IRemoteServerManager svrMgr, long ID)
Method Detail |
public boolean start()
start
call, the Server and/or
ServerManager are free to destroy it.start
in interface IServer
public boolean stop()
start
, the Service
gets 15 seconds to stop itself before the ServerManager is free to take
more drastic steps.stop
in interface IServer
public boolean pause()
pause
in interface IServer
public boolean resume()
resume
in interface IServer
public void kill()
kill
in interface IServer
public java.lang.String getState()
getState
in interface IServer
public java.lang.String getInstanceID()
getInstanceID
in interface IServer
public java.lang.Exception getLastError()
getLastError
in interface IServer
public ConfigProperties getConfigInfo()
getConfigInfo
in interface IServer
public void setConfigInfo(ConfigProperties info)
setConfigInfo
in interface IServer
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |