|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfabric.common.net.SubServerSocketFactory
public class SubServerSocketFactory
factory for creating SubServerSockets. This class decorates a javax.net.ServerSocketFactory, which is used for instantiating the underlying channels.
| Constructor Summary | |
|---|---|
SubServerSocketFactory(HandshakeProtocol handshake,
NameService nameService)
Creates a new SubServerSocketFactory decorating the given ServerSocketFactory. |
|
| Method Summary | |
|---|---|
SubServerSocket |
createServerSocket()
create an unbound server socket. |
SubServerSocket |
createServerSocket(java.lang.String host)
convenience method |
SubServerSocket |
createServerSocket(java.lang.String name,
int backlog)
create a server socket to await connections to the given local host name and port number. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SubServerSocketFactory(HandshakeProtocol handshake,
NameService nameService)
factory - the ServerSocketFactory that will be used to create the
ServerSockets used to implement SubServerSockets returned by this| Method Detail |
|---|
public SubServerSocket createServerSocket()
public SubServerSocket createServerSocket(java.lang.String host)
throws java.io.IOException
java.io.IOException
public SubServerSocket createServerSocket(java.lang.String name,
int backlog)
throws java.io.IOException
name - the local namebacklog - the number of waiting connections to allow on this socket
java.io.IOExceptionServerSocketFactory.createServerSocket(int, int, InetAddress)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||