org.jacorb.orb.factory

Interface ServerSocketFactory

public interface ServerSocketFactory

Version: $Id: ServerSocketFactory.java,v 1.10 2006/06/30 11:09:13 alphonse.bendt Exp $

Author: Gerald Brose

Method Summary
ServerSocketcreateServerSocket(int port)
ServerSocketcreateServerSocket(int port, int backlog)
Returns a server socket which uses all network interfaces on the host, and is bound to the specified port.
ServerSocketcreateServerSocket(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 Detail

createServerSocket

public ServerSocket createServerSocket(int port)

createServerSocket

public 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.

Parameters: port - the port to listen to backlog - how many connections are queued

Throws: IOException - for networking errors

createServerSocket

public 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. The socket is configured with the socket options (such as accept timeout) given to this factory.

Parameters: port - the port to listen to backlog - how many connections are queued

Throws: IOException - for networking errors