com.infoengine.au
Class DefaultServerSocketFactory
java.lang.Object
com.infoengine.au.DefaultServerSocketFactory
- All Implemented Interfaces:
- ServerSocketFactory
- public class DefaultServerSocketFactory
- extends Object
- implements ServerSocketFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultServerSocketFactory
public DefaultServerSocketFactory()
- Constructor
createServerSocket
public ServerSocket createServerSocket(String service,
int port)
throws IOException
- Creates a server socket that listens for connection requests.
- Specified by:
createServerSocket
in interface ServerSocketFactory
- 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