| java.lang.Object org.codehaus.spice.netserve.sockets.impl.DefaultServerSocketFactory
DefaultServerSocketFactory | public class DefaultServerSocketFactory implements ServerSocketFactory(Code) | | Factory implementation for vanilla TCP sockets.
author: Peter Donald version: $Revision: 1.2 $ $Date: 2004/03/21 23:42:59 $ |
Method Summary | |
public ServerSocket | createServerSocket(int port) Creates a socket on specified port. | public ServerSocket | createServerSocket(int port, int backlog) Creates a socket on specified port with a specified backlog. | public 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 | public 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 | public 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 | public 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 |
|
|