| org.codehaus.spice.netserve.sockets.ServerSocketFactory
All known Subclasses: org.codehaus.spice.netserve.sockets.impl.DefaultServerSocketFactory,
ServerSocketFactory | public interface ServerSocketFactory (Code) | | Service used to create server sockets. The factory is used so that
the exact socket type and underlying transport is abstracted. The
sockets created could be proxied, SSL enabled, TLS enabled etc.
However clients just care that they return sockets.
author: Peter Donald version: $Revision: 1.2 $ $Date: 2004/03/21 23:43:00 $ |
Method Summary | |
ServerSocket | createServerSocket(int port) Creates a socket on specified port. | ServerSocket | createServerSocket(int port, int backlog) Creates a socket on specified port with a specified backlog. | ServerSocket | createServerSocket(int port, int backlog, InetAddress address) Creates a socket on a particular network interface on specified port
with a specified backlog.
Parameters: port - the port (0 indicates any available port) Parameters: backlog - the backlog Parameters: address - the network interface to bind to. |
createServerSocket | ServerSocket createServerSocket(int port) throws IOException(Code) | | Creates a socket on specified port.
Parameters: port - the port (0 indicates any available port) the created ServerSocket throws: IOException - if unable to create socket |
createServerSocket | ServerSocket createServerSocket(int port, int backlog) throws IOException(Code) | | Creates a socket on specified port with a specified backlog.
Parameters: port - the port (0 indicates any available port) Parameters: backlog - the backlog the created ServerSocket throws: IOException - if unable to create socket |
createServerSocket | ServerSocket createServerSocket(int port, int backlog, InetAddress address) throws IOException(Code) | | Creates a socket on a particular network interface on specified port
with a specified backlog.
Parameters: port - the port (0 indicates any available port) Parameters: backlog - the backlog Parameters: address - the network interface to bind to. the created ServerSocket throws: IOException - if unable to create socket |
|
|