VMware GemFire Java API Reference
Package org.apache.geode.distributed
Interface ClientSocketFactory
-
public interface ClientSocketFactoryInterfaceClientSocketFactoryis 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 SocketcreateSocket(InetAddress address, int port)Creates aSocketfor the input address and port
-
-
-
Method Detail
-
createSocket
Socket createSocket(InetAddress address, int port) throws IOException
Creates aSocketfor the input address and port- Parameters:
address- TheInetAddressof the serverport- The port of the server- Returns:
- a
Socketfor the input address and port - Throws:
IOException- if the socket cannot be created
-
-