public class SocketConnectionFactory
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static <Request extends AbstractRequest,Response extends AbstractResponse> |
createConnection(java.net.InetAddress host,
int initialPort,
int portsNumberToTry,
RequestResponseExternalizerFactory<Request,Response> factory) |
static <Request extends AbstractRequest,Response extends AbstractResponse> |
createServerConnection(int defaultPort,
java.net.InetAddress bindAddress,
int attempts,
RequestResponseExternalizerFactory<Request,Response> factory) |
static <Request extends AbstractRequest,Response extends AbstractResponse> |
createServerConnection(int defaultPort,
java.net.InetAddress bindAddress,
RequestResponseExternalizerFactory<Request,Response> factory) |
public static <Request extends AbstractRequest,Response extends AbstractResponse> SocketConnection<Request,Response> createServerConnection(int defaultPort, java.net.InetAddress bindAddress, int attempts, RequestResponseExternalizerFactory<Request,Response> factory)
public static <Request extends AbstractRequest,Response extends AbstractResponse> SocketConnection<Request,Response> createServerConnection(int defaultPort, java.net.InetAddress bindAddress, RequestResponseExternalizerFactory<Request,Response> factory)
public static <Request extends AbstractRequest,Response extends AbstractResponse> ClientSocketConnection<Request,Response> createConnection(java.net.InetAddress host, int initialPort, int portsNumberToTry, RequestResponseExternalizerFactory<Request,Response> factory)