GemFire 7.0

com.gemstone.gemfire.cache.wan
Interface GatewayReceiverFactory


public interface GatewayReceiverFactory

Since:
7.0

Method Summary
 GatewayReceiverFactory addGatewayTransportFilter(GatewayTransportFilter filter)
          Adds a GatewayTransportFilter
 GatewayReceiver create()
          Creates and returns an instance of GatewayReceiver
 GatewayReceiverFactory removeGatewayTransportFilter(GatewayTransportFilter filter)
          Removes a GatewayTransportFilter
 GatewayReceiverFactory setBindAddress(String address)
          Sets the ip address or host name that this GatewayReceiver is to listen on for GatewaySender Connection
 GatewayReceiverFactory setEndPort(int endPort)
          Sets the start port for the GatewayReceiver.
 GatewayReceiverFactory setMaximumTimeBetweenPings(int time)
          Sets the maximum amount of time between client pings.The default is 60000 ms.
 GatewayReceiverFactory setSocketBufferSize(int socketBufferSize)
          Sets the buffer size in bytes of the socket connection for this GatewayReceiver.
 GatewayReceiverFactory setStartPort(int startPort)
          Sets the start port for the GatewayReceiver.
 

Method Detail

setStartPort

GatewayReceiverFactory setStartPort(int startPort)
Sets the start port for the GatewayReceiver. If set the GatewayReceiver will start at one of the port between startPort and endPort. The default endPort 50505.

Parameters:
startPort -

setEndPort

GatewayReceiverFactory setEndPort(int endPort)
Sets the start port for the GatewayReceiver. If set the GatewayReceiver will start at one of the port between startPort and endPort. The default endPort 50605.

Parameters:
endPort -

setSocketBufferSize

GatewayReceiverFactory setSocketBufferSize(int socketBufferSize)
Sets the buffer size in bytes of the socket connection for this GatewayReceiver. The default is 32768 bytes.

Parameters:
socketBufferSize - The size in bytes of the socket buffer

setBindAddress

GatewayReceiverFactory setBindAddress(String address)
Sets the ip address or host name that this GatewayReceiver is to listen on for GatewaySender Connection

Parameters:
address - String representing ip address or host name

addGatewayTransportFilter

GatewayReceiverFactory addGatewayTransportFilter(GatewayTransportFilter filter)
Adds a GatewayTransportFilter

Parameters:
filter - GatewayTransportFilter

removeGatewayTransportFilter

GatewayReceiverFactory removeGatewayTransportFilter(GatewayTransportFilter filter)
Removes a GatewayTransportFilter

Parameters:
filter - GatewayTransportFilter

setMaximumTimeBetweenPings

GatewayReceiverFactory setMaximumTimeBetweenPings(int time)
Sets the maximum amount of time between client pings.The default is 60000 ms.

Parameters:
time - The maximum amount of time between client pings

create

GatewayReceiver create()
Creates and returns an instance of GatewayReceiver

Returns:
instance of GatewayReceiver

GemFire 7.0

Copyright © 1997-2012 VMware, Inc. All rights reserved.