|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.codehaus.spice.netserve.sockets.impl.DefaultServerSocketFactory
Factory implementation for vanilla TCP sockets.
| Constructor Summary | |
DefaultServerSocketFactory()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultServerSocketFactory()
| Method Detail |
public ServerSocket createServerSocket(int port)
throws IOException
createServerSocket in interface ServerSocketFactoryport - the port (0 indicates any available port)
IOException - if unable to create socket
public ServerSocket createServerSocket(int port,
int backlog)
throws IOException
createServerSocket in interface ServerSocketFactoryport - the port (0 indicates any available port)backlog - the backlog
IOException - if unable to create socket
public ServerSocket createServerSocket(int port,
int backlog,
InetAddress address)
throws IOException
createServerSocket in interface ServerSocketFactoryport - the port (0 indicates any available port)backlog - the backlogaddress - the network interface to bind to.
IOException - if unable to create socket
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||