|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--jrun.jms.core.kernel.ipc.Server
The main entry point for Ipc server connections. Create and start the appropriate service for a server.
org.exolab.core.ipc.TcpServerService| Constructor Summary | |
Server(int port,
NotifierIfc notifier)
Instantiate an appropriate service with the given port number. |
|
Server(NotifierIfc notifier)
Instantiate an appropriate service. |
|
| Method Summary | |
java.lang.String |
getHost()
Return the machines address. |
int |
getPort()
Return the port number this server is listening on. |
void |
run()
Start the service running. |
void |
stop()
Shutdown the service. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Server(int port,
NotifierIfc notifier)
throws java.io.IOException
port - The port to connect on.notifier - The client handle to call when data is received.
public Server(NotifierIfc notifier)
throws java.io.IOException
notifier - The client handle to call when data is received.| Method Detail |
public void stop()
ipc - The service to shutdown.java.io.IOException - If the service reports an error during shutdown.public int getPort()
public java.lang.String getHost()
public void run()
run in interface java.lang.Runnable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||