|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objecttoolbox.services.BaseService
toolbox.services.socket.SocketClientService
public class SocketClientService
Convenience service implementation that can be used to develop services
that require interaction with client sockets using the
toolbox.socket package.
| Constructor Summary | |
|---|---|
protected |
SocketClientService()
Default constructor. |
| Method Summary | |
|---|---|
void |
create(java.lang.String name,
java.lang.String confHome,
ServiceEnvironment env,
XMLProperties xmlProps)
Create the service by obtaining a refrence to the SocketClientManager in the provided environment. |
void |
destroy()
Destroy this service by nulling the configuration properties. |
protected SocketClient |
getSocketClient()
Return SocketClient for this service. |
protected SocketClientManager |
getSocketClientManager()
Returns the SocketClientManager for this service. |
| Methods inherited from class toolbox.services.BaseService |
|---|
getConfigHome, getName, getProperties, getProperty, getXMLProperties, logConfig, logFine, logFiner, logFinest, logInfo, logSevere, logWarning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected SocketClientService()
| Method Detail |
|---|
public void create(java.lang.String name,
java.lang.String confHome,
ServiceEnvironment env,
XMLProperties xmlProps)
throws ServiceException
create in interface Servicecreate in class BaseServicename - The name of this service.confHome - The path to the configuration home directory.env - The service environment for this service.xmlProps - XML configuration properties.
ServiceException - if this service cannot be created.protected SocketClient getSocketClient()
protected SocketClientManager getSocketClientManager()
public void destroy()
BaseService
destroy in interface Servicedestroy in class BaseService
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||