Package org.openspaces.core.gateway
Class GatewayLookup
java.lang.Object
org.openspaces.core.gateway.GatewayLookup
Holds information used for gateway lookup.
- Since:
- 8.0.3
- Author:
- Idan Moyal
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHost()voidsetCommunicationPort(String lrmiPort) Sets the gateway's lookup communication port (Component's communication port).voidsetDiscoveryPort(String discoveryPort) Sets the gateway's lookup LUS port (Component's discovery port).voidsetGatewayName(String siteName) Sets the gateway's name used for identification.voidSets the gateway's lookup host address (locator).
-
Constructor Details
-
GatewayLookup
public GatewayLookup()
-
-
Method Details
-
getGatewayName
- Returns:
- The gateway's name used for identification.
-
setGatewayName
Sets the gateway's name used for identification. -
getHost
- Returns:
- The gateway's lookup host address (locator).
-
setHost
Sets the gateway's lookup host address (locator).- Parameters:
host- The host address.
-
getDiscoveryPort
- Returns:
- The gateway's lookup LUS port (Component's discovery port).
-
setDiscoveryPort
Sets the gateway's lookup LUS port (Component's discovery port). -
getCommunicationPort
- Returns:
- The gateway's lookup communication port (Component's communication port).
-
setCommunicationPort
Sets the gateway's lookup communication port (Component's communication port).- Parameters:
lrmiPort- The LRMI port.
-