Gemfire JavaDocs
Package org.apache.geode.distributed
Interface ClientSocketFactory
-
public interface ClientSocketFactory
InterfaceClientSocketFactory
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.- Since:
- GemFire 6.5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.net.Socket
createSocket(java.net.InetAddress address, int port)
Creates aSocket
for the input address and port
-
-
-
Method Detail
-
createSocket
java.net.Socket createSocket(java.net.InetAddress address, int port) throws java.io.IOException
Creates aSocket
for the input address and port- Parameters:
address
- TheInetAddress
of the serverport
- The port of the server- Returns:
- a
Socket
for the input address and port - Throws:
java.io.IOException
- if the socket cannot be created
-
-