|
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.ManagerClientImpl
Client side of the Manager client/server implementation. A client that successfully instantiates and starts a ManagerClientImpl thread will be able to interact the the Manager singleton as though it is in local to the remote application. The client should never have with this class beyond construction, starting and closing.
Constructor Summary | |
ManagerClientImpl()
Construct the Manager client, but let it be configured later. |
|
ManagerClientImpl(Manager managerInstance,
InetAddress inetAddr,
int port)
Connect to a remote ManagerServer at the passed InetAddress and port. |
|
ManagerClientImpl(Manager managerInstance,
Socket socket)
Construct the Manager client with an already running socket. |
|
ManagerClientImpl(Manager managerInstance,
String host,
int port)
Connect to a remote ManagerServer at the passed host and port. |
Method Summary | |
void |
close()
Request that the ManagerClientImpl shut down. |
void |
endConfiguration()
Invoked upon completion of bean property configuration for this object. |
void |
registerInterest(com.solarmetric.manage.WatchableStub watchable)
|
void |
registerInterest(com.solarmetric.manage.WatchableStub watchable,
com.solarmetric.manage.StatisticStub stat)
|
void |
run()
Primary method of the thread. |
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 object 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 ManagerClientImpl()
public ManagerClientImpl(Manager managerInstance, Socket socket)
public ManagerClientImpl(Manager managerInstance, InetAddress inetAddr, int port) throws IOException
public ManagerClientImpl(Manager managerInstance, String host, int port) throws IOException
Method Detail |
public void setManagerInstance(Manager managerInstance)
setManagerInstance
in interface ManagerClient
public void setPort(int port)
public void setHost(String host)
public void close()
close
in interface com.solarmetric.util.Closeable
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 registerInterest(com.solarmetric.manage.WatchableStub watchable, com.solarmetric.manage.StatisticStub stat) throws BrokenConnectionException
registerInterest
in interface ManagerClient
public void registerInterest(com.solarmetric.manage.WatchableStub watchable) throws BrokenConnectionException
registerInterest
in interface ManagerClient
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 |