org.jacorb.orb.factory
Interface ServerSocketFactory
- All Known Implementing Classes:
- DefaultServerSocketFactory, PortRangeServerSocketFactory
public interface ServerSocketFactory
- Version:
- $Id: ServerSocketFactory.java,v 1.11 2008-11-14 08:55:32 nick.cross Exp $
- Author:
- Gerald Brose
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. |
createServerSocket
java.net.ServerSocket createServerSocket(int port)
throws java.io.IOException
- Throws:
java.io.IOException
createServerSocket
java.net.ServerSocket createServerSocket(int port,
int backlog)
throws java.io.IOException
- Returns a server socket which uses all network interfaces on
the host, and is bound to the specified port.
- Parameters:
port
- - the port to listen tobacklog
- - how many connections are queued
- Throws:
java.io.IOException
- - for networking errors
createServerSocket
java.net.ServerSocket createServerSocket(int port,
int backlog,
java.net.InetAddress ifAddress)
throws java.io.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:
port
- - the port to listen tobacklog
- - how many connections are queued
- Throws:
java.io.IOException
- - for networking errors