Java Mine
ContentsIndexHome
PreviousUpNext
Gateway.Gateway Constructor (long, eGatewayType, String, String, String, int, boolean, Double, Boolean, Double, Boolean, String, String, String, String, String)
Syntax
Java
public Gateway(long gatewayID, eGatewayType gatewayType, String gatewayFirmwareVersion, String radioFirmwareVersion, String hostAddress, int port, boolean disableNetworkOnServerError, Double reportInterval, Boolean observeAware, Double pollInterval, Boolean hasUrgentTraffic, String gatewayIP, String gatewaySubnet, String defaultRouterIP, String gatewayDNS, String secondaryDNS);

 

Creates a new gateway that takes the heartbeat and a static gateway ip @param gatewayID The unique identifier of a gateway @param gatewayType The type of gateway that will be created such as usb or ethernet @param gatewayFirmwareVersion This is the firmware version of the gateways APN @param radioFirmwareVersion This is the firmware of the radio the gateway uses to listen to sensors with @param hostAddress The primary Host address the gateway will pass sensor data through @param port The primary port the gateway will pass sensor data through @param reportInterval This is the heartbeat of the gateway this is represented in minutes @param observeAware If this is true then the gateway will auto send up all data if it gets in an aware state message from a sensor if it is set to false then the gateway will wait until the reportInterval is reached @param pollInterval polls the server to find out if there is any data that needs to be sent down to the sensors this includes but is not limited to updates and notifications this does not send up sensor data collected by the gateway @param hasUrgentTraffic this is a control or local notifier message @param gatewayIP Allows you to set a static IP address on the Gateway @param gatewaySubnet Allows you to set a SubNetMask address for your static IP @param defaultRouterIP The router your gateway will be using to push traffic through @param gatewayDNS The primary DNS server the gateway should use @param secondaryDNS The secondary DNS server the gateway should use @param disableNetworkOnServerError If the network connection is not available, the gateway will disable the sensor network allowing sensors to relink to a different gateway

Copyright (c) 2022. All rights reserved.
What do you think about this topic? Send feedback!