Node
- the type of node at the remote endpoint.public final class SubSocketFactory<Node extends RemoteNode<Node>>
extends java.lang.Object
Constructor and Description |
---|
SubSocketFactory(Protocol<Node> protocol,
NameService nameService,
NameService.PortType portType)
Create a new SubSocket factory that decorates the given SocketFactory.
|
SubSocketFactory(Protocol<Node> protocol,
NameService nameService,
NameService.PortType portType,
int maxOpenConnectionsPerChannel)
Create a new SubSocket factory that decorates the given SocketFactory.
|
Modifier and Type | Method and Description |
---|---|
SubSocket<Node> |
createSocket()
Create an unconnected socket.
|
SubSocket<Node> |
createSocket(Node node)
Convenience method.
|
public SubSocketFactory(Protocol<Node> protocol, NameService nameService, NameService.PortType portType)
public SubSocketFactory(Protocol<Node> protocol, NameService nameService, NameService.PortType portType, int maxOpenConnectionsPerChannel)