GemFire 6.5.1

com.gemstone.gemfire.distributed
Interface ClientSocketFactory


public interface ClientSocketFactory

Interface 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.

Since:
6.5

Method Summary
 Socket createSocket(InetAddress address, int port)
          Creates a Socket for the input address and port
 

Method Detail

createSocket

Socket createSocket(InetAddress address,
                    int port)
                    throws IOException
Creates a Socket for the input address and port

Parameters:
address - The InetAddress of the server
port - The port of the server
Returns:
a Socket for the input address and port
Throws:
IOException

GemFire 6.5.1

Copyright © 2002-2010 GemStone Systems, Inc. All Rights Reserved.