Java Mine
ContentsIndexHome
PreviousUpNext
Gateway.Gateway Constructor (int, eGatewayType, String, String, String, int, double, Boolean, double, Boolean, String, String, String, String, String)
Syntax
Java
public Gateway(int gatewayID, eGatewayType gatewayType, String gatewayFirmwareVersion, String radioFirmwareVersion, String hostAddress, int port, double reportInterval, Boolean observeAware, double pollInterval, Boolean hasUrgentTraffic, String gatewayIP, String gatewaySubnet, String defaultRouterIP, String gatewayDNS, String secondaryDNS);
Parameters 
Description 
int gatewayID 
Numeric Identifier of the gateway.  
eGatewayType gatewayType 
type of gateway  
String gatewayFirmwareVersion 
Gateway firmware version.  
String radioFirmwareVersion 
Radio firmware version.  
String hostAddress 
IP address or DNS Resolvable host name address the gateway uses to communicate to the server.  
int port 
Port the gateway will use to communicate to the server.  
double reportInterval 
Interval in minutes gateway communicates. (Default: 5)  
Boolean observeAware 
Triggers communication on aware messages from sensors. (Default: true)  
double pollInterval 
Interval the gateway polls the server to identify if urgent messages need to be communicated to gateway. (Default: 0 Not Enabled)  
Boolean hasUrgentTraffic 
Indicates if the server currently has urgent traffic for the gateway. (Default: false)  
String gatewayIP 
IP the gateway will use on the local area network. (Default: "0.0.0.0" Use DHCP)  
String gatewaySubnet 
Subnet the gateway will use to communication on the local area network. (Default: "0.0.0.0")  
String defaultRouterIP 
Default router the gateway will send information to if it needs to communicate outside the local area network. (Default: "0.0.0.0")  
String gatewayDNS 
DNS server used to lookup server host names. (Not used is host is configured with IP Address.) (Default: "0.0.0.0")  
String secondaryDNS 
Secondary DNS server used to lookup host names if Primary DNS server is not available. (Default: "0.0.0.0") 

 

Presets these properties 

GatewayIDGatewayTypeGatewayFirmwareVersionRadioFirmwareVersionHostPortReportInterval (Default: 5)ObserveAware (Default: true)PollInterval (Default: 0 Not Enabled)HasUrgentTraffic (Default: false)GatewayIP (Default: "0.0.0.0" Use DHCP)GatewaySubnet (Default: "0.0.0.0")DefaultRouterIP (Default: "0.0.0.0")GatewayDNS (Default: "0.0.0.0")SecondaryDNS (Default: "0.0.0.0")

@2015 all rights reserved
What do you think about this topic? Send feedback!