public interface ClientSocketFactory
ClientSocketFactory
is used to create non-default client sockets. Set the
system property gemfire.clientSocketFactory to the full name of your factory implementation, and
GemFire will use your factory to manufacture sockets when it connects to server caches.Modifier and Type | Method and Description |
---|---|
Socket |
createSocket(InetAddress address,
int port)
Creates a
Socket for the input address and port |
Socket createSocket(InetAddress address, int port) throws IOException
Socket
for the input address and portaddress
- The InetAddress
of the serverport
- The port of the serverSocket
for the input address and portIOException
- if the socket cannot be created