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

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


shutdownAll

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

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

Returns:
int The port number the server is using.

getHost

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

Returns:
String The machines Ip address.


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