|
SolarMetric Kodo JDO 3.0.3 generated on February 20 2004 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.solarmetric.manage.ManagerServerImpl
Server side of the Manager client/server implementation. A server listens on a particular address and port, and can accept connections from various remote ManagerClients. Simply instantiating and starting the ManagerServerImpl should allow multiple clients to connect and monitor the local runtime.
Inner Class Summary | |
class |
ManagerServerImpl.ManagerSkeleton
Class/thread that handles individual ManagerClient connections. |
Constructor Summary | |
ManagerServerImpl()
Construct the ManagerServerImpl, but defer configuration. |
|
ManagerServerImpl(Manager managerInstance,
int port,
int backlog,
String host)
Construct the ManagerServerImpl to listen on the given port and address with the passed backlog. |
Method Summary | |
void |
close()
Request that this server shutdown. |
void |
endConfiguration()
Invoked upon completion of bean property configuration for this object. |
void |
run()
Primary method of this thread. |
void |
setBacklog(int backlog)
|
void |
setConfiguration(Configuration conf)
Invoked prior to setting bean properties. |
void |
setHost(String host)
|
void |
setLog(org.apache.commons.logging.Log log)
Set the log for this server to use. |
void |
setManagerInstance(Manager managerInstance)
|
void |
setPort(int port)
|
void |
startConfiguration()
Invoked before bean property configuration is begun on this object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ManagerServerImpl()
public ManagerServerImpl(Manager managerInstance, int port, int backlog, String host)
Method Detail |
public void setManagerInstance(Manager managerInstance)
setManagerInstance
in interface ManagerServer
public void setPort(int port)
public void setBacklog(int backlog)
public void setHost(String host)
public void close()
close
in interface ManagerServer
public void setLog(org.apache.commons.logging.Log log)
public void setConfiguration(Configuration conf)
Configurable
setConfiguration
in interface Configurable
public void startConfiguration()
Configurable
startConfiguration
in interface Configurable
public void endConfiguration()
Configurable
endConfiguration
in interface Configurable
public void run()
run
in interface Runnable
|
SolarMetric Kodo JDO 3.0.3 generated on February 20 2004 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |