com.infoengine.au.ssl
Class SimpleServerSocketFactory

java.lang.Object
  extended bycom.infoengine.au.ssl.SimpleServerSocketFactory
All Implemented Interfaces:
ServerSocketFactory

public class SimpleServerSocketFactory
extends Object
implements ServerSocketFactory

This class implements a server socket factory that produces simple SSL sockets using the default socket factory provided by the SSL reference implementation.

The behavior of the factory is controlled by the following properties. In each case, port corresponds to the port number on which the server socket will listen for connection requests.


Constructor Summary
SimpleServerSocketFactory()
          Constructor.
 
Method Summary
 ServerSocket createServerSocket(String service, int port)
          Creates an SSL server socket that listens for connection requests.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleServerSocketFactory

public SimpleServerSocketFactory()
Constructor.

Method Detail

createServerSocket

public ServerSocket createServerSocket(String service,
                                       int port)
                                throws IOException
Creates an SSL 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