com.infoengine.au
Interface ServerSocketFactory

All Known Implementing Classes:
DefaultServerSocketFactory, SimpleServerSocketFactory

public interface ServerSocketFactory


Method Summary
 ServerSocket createServerSocket(String service, int port)
          Creates a server socket that listens for connection requests.
 

Method Detail

createServerSocket

public ServerSocket createServerSocket(String service,
                                       int port)
                                throws IOException
Creates a server socket that listens for connection requests.

Parameters:
service - The name of the Info*Engine service with which the server socket will be associated.
port - The port number on which the service instance listens for connection requests.
Returns:
The server socket.
Throws:
IOEException - if the server socket can not be created.
IOException