|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.ObjectMUM.metadataService.MetadataServiceConnectionMaker
This class implements a MetaDataContainerConnectionMaker. This component listen for requests on the port where it can be istantiated then creates a new thread to serve the request and return to wait for new requests
| Field Summary |
| Fields inherited from interface SOMA.network.connection.Daemon |
ERROR, OFF, ON |
| Constructor Summary | |
MetadataServiceConnectionMaker(IMetadataCacheManager metadataCacheManager,
IPoliciesManager policiesManager,
java.io.PrintStream out)
The constructor doesn't do anything, you must call the start method to activate the connection manager |
|
| Method Summary | |
java.net.InetAddress |
getInetAddress()
Returns the local address of this server socket. |
int |
getPort()
Returns the port on which the socket was istantiated |
java.lang.Object |
getStatus()
Returns the status of the daemon. |
void |
run()
This is the method executed by the daemon. |
void |
start()
Activate the connection manager (the metadata server) |
void |
stop()
Stop the connection manager (the metadata server) |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public MetadataServiceConnectionMaker(IMetadataCacheManager metadataCacheManager,
IPoliciesManager policiesManager,
java.io.PrintStream out)
| Method Detail |
public void start()
throws java.io.IOException,
MetaDataContainerConnectionMakerException
start in interface Daemonjava.io.IOException
MetaDataContainerConnectionMakerException
public void stop()
throws java.io.IOException,
MetaDataContainerConnectionMakerException
stop in interface Daemonjava.io.IOException
MetaDataContainerConnectionMakerExceptionpublic java.lang.String toString()
public java.lang.Object getStatus()
getStatus in interface Daemonpublic void run()
run in interface java.lang.Runnablepublic java.net.InetAddress getInetAddress()
public int getPort()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||