com.infoengine.au
Interface ServerSocketFactory

All Known Implementing Classes:
SimpleServerSocketFactory

public interface ServerSocketFactory


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

Method Detail

createServerSocket

java.net.ServerSocket createServerSocket(java.lang.String service,
                                         int port)
                                         throws java.io.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.
java.io.IOException