Class GatewayConnectionManager
- java.lang.Object
- 
- com.inductiveautomation.ignition.client.gateway_interface.GatewayConnectionManager
 
- 
 public class GatewayConnectionManager extends java.lang.Object
- 
- 
Constructor SummaryConstructors Constructor Description GatewayConnectionManager()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static GatewayConnectiongetInstance()Returns the shared instance of the GatewayConnectionstatic booleanisInitialized()static voidsetConnection(GatewayConnection con)static GatewayAddresstoGatewayAddress(HttpURL url)Converts an HttpURL to a GatewayAddress.static java.util.List<GatewayAddress>toGatewayAddressList(java.util.List<HttpURL> urls)Straight conversion between a list of HttpURLs and GatewayAddresses.static HttpURLtoHttpURL(GatewayAddress addr)Converts from a GatewayAddress to an HttpURL.static java.util.List<HttpURL>toHttpURLList(java.util.List<GatewayAddress> addresses)Straight conversion between a list of GatewayAddresses and HttpURLs.
 
- 
- 
- 
Method Detail- 
getInstancepublic static GatewayConnection getInstance() Returns the shared instance of the GatewayConnection
 - 
setConnectionpublic static void setConnection(GatewayConnection con) 
 - 
isInitializedpublic static boolean isInitialized() 
 - 
toGatewayAddresspublic static GatewayAddress toGatewayAddress(HttpURL url) 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.
 - 
toGatewayAddressListpublic static java.util.List<GatewayAddress> toGatewayAddressList(java.util.List<HttpURL> urls) Straight conversion between a list of HttpURLs and GatewayAddresses. SeetoGatewayAddress(HttpURL)for an explanation.
 - 
toHttpURLpublic static HttpURL toHttpURL(GatewayAddress addr) Converts from a GatewayAddress to an HttpURL. SeetoGatewayAddress(HttpURL)for an explanation.
 - 
toHttpURLListpublic static java.util.List<HttpURL> toHttpURLList(java.util.List<GatewayAddress> addresses) Straight conversion between a list of GatewayAddresses and HttpURLs. SeetoGatewayAddress(HttpURL)for an explanation.
 
- 
 
-