org.jacorb.orb.factory

Interface ServerSocketFactory

Known Subinterfaces:
SSLServerSocketFactory
Known Implementing Classes:
DefaultServerSocketFactory, PortRangeServerSocketFactory

public interface ServerSocketFactory

Method Summary

ServerSocket
createServerSocket(int port)
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.
ServerSocket
createServerSocket(int port, int backlog, 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.

Method Details

createServerSocket

public ServerSocket createServerSocket(int port)
            throws IOException


createServerSocket

public ServerSocket createServerSocket(int port,
                                       int backlog)
            throws IOException
Returns a server socket which uses all network interfaces on the host, and is bound to the specified port.

Parameters:


createServerSocket

public ServerSocket createServerSocket(int port,
                                       int backlog,
                                       InetAddress ifAddress)
            throws IOException
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.

Parameters: