org.exolab.core.ipc
Interface IpcServerIfc

All Known Implementing Classes:
TcpServerService

public interface IpcServerIfc

All Ipc servers must implement the following methods.

Version:
$Revision: 1.2 $ $Date: 2000/06/27 01:23:32 $
Author:
Jim Mourikis
See Also:
TcpServerService, TcpService

Method Summary
 java.lang.String getHost()
          Return the machines address.
 int getPort()
          Return the port number this server is listening on.
 void shutdownAll()
          Shutdown all active connections, including the server connection.
 void start()
          Start the service running.
 

Method Detail

start

public void start()
Start the service running. This call never returns until the service is shutdown.


shutdownAll

public void shutdownAll()
                 throws java.io.IOException
Shutdown all active connections, including the server connection.

Throws:
java.io.IOException - If the service reports an error during shutdown.

getPort

public int getPort()
Return the port number this server is listening on.

Returns:
int The port number the server is using.

getHost

public java.lang.String getHost()
Return the machines address.

Returns:
String The machines Ip address.


Copyright © 1999-2005 The Exolab Group. All Rights Reserved.