Class GatewayConnectionManager
java.lang.Object
com.inductiveautomation.ignition.client.gateway_interface.GatewayConnectionManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GatewayConnection
Returns the shared instance of the GatewayConnectionstatic boolean
static void
static GatewayAddress
toGatewayAddress
(HttpURL url) Converts an HttpURL to a GatewayAddress.static List<GatewayAddress>
toGatewayAddressList
(List<HttpURL> urls) Straight conversion between a list of HttpURLs and GatewayAddresses.static HttpURL
toHttpURL
(GatewayAddress addr) Converts from a GatewayAddress to an HttpURL.toHttpURLList
(List<GatewayAddress> addresses) Straight conversion between a list of GatewayAddresses and HttpURLs.
-
Constructor Details
-
GatewayConnectionManager
public GatewayConnectionManager()
-
-
Method Details
-
getInstance
Returns the shared instance of the GatewayConnection -
setConnection
-
isInitialized
public static boolean isInitialized() -
toGatewayAddress
Converts an HttpURL to a GatewayAddress. These classes are basically identical. HttpURL is the Ignition common representation of a gateway address, and GatewayAddress is the client bootstrap's version. Since bootstrap doesn't depend on common, they can't be consolidated. -
toGatewayAddressList
Straight conversion between a list of HttpURLs and GatewayAddresses. SeetoGatewayAddress(HttpURL)
for an explanation. -
toHttpURL
Converts from a GatewayAddress to an HttpURL. SeetoGatewayAddress(HttpURL)
for an explanation. -
toHttpURLList
Straight conversion between a list of GatewayAddresses and HttpURLs. SeetoGatewayAddress(HttpURL)
for an explanation.
-