org.jacorb.orb.factory
Class DefaultServerSocketFactory

java.lang.Object
  extended byorg.jacorb.orb.factory.DefaultServerSocketFactory
All Implemented Interfaces:
ServerSocketFactory

public class DefaultServerSocketFactory
extends java.lang.Object
implements ServerSocketFactory


Constructor Summary
DefaultServerSocketFactory()
           
 
Method Summary
 java.net.ServerSocket createServerSocket(int port)
           
 java.net.ServerSocket createServerSocket(int port, int backlog)
          Returns a server socket which uses all network interfaces on the host, and is bound to the specified port.
 java.net.ServerSocket createServerSocket(int port, int backlog, java.net.InetAddress ifAddress)
          Returns a server socket which uses all network interfaces on the host, is bound to a the specified port, and uses the specified connection backlog.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultServerSocketFactory

public DefaultServerSocketFactory()
Method Detail

createServerSocket

public java.net.ServerSocket createServerSocket(int port)
                                         throws java.io.IOException
Specified by:
createServerSocket in interface ServerSocketFactory
Throws:
java.io.IOException

createServerSocket

public java.net.ServerSocket createServerSocket(int port,
                                                int backlog)
                                         throws java.io.IOException
Description copied from interface: ServerSocketFactory
Returns a server socket which uses all network interfaces on the host, and is bound to the specified port.

Specified by:
createServerSocket in interface ServerSocketFactory
Throws:
java.io.IOException - - for networking errors

createServerSocket

public java.net.ServerSocket createServerSocket(int port,
                                                int backlog,
                                                java.net.InetAddress ifAddress)
                                         throws java.io.IOException
Description copied from interface: ServerSocketFactory
Returns a server socket which uses all network interfaces on the host, is bound to a the specified port, and uses the specified connection backlog. The socket is configured with the socket options (such as accept timeout) given to this factory.

Specified by:
createServerSocket in interface ServerSocketFactory
Throws:
java.io.IOException - - for networking errors