Class GatewayConnectionManager


  • public class GatewayConnectionManager
    extends java.lang.Object
    • Constructor Detail

      • GatewayConnectionManager

        public GatewayConnectionManager()
    • Method Detail

      • getInstance

        public static GatewayConnection getInstance()
        Returns the shared instance of the GatewayConnection
      • isInitialized

        public static boolean isInitialized()
      • toGatewayAddress

        public 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.
      • toGatewayAddressList

        public static java.util.List<GatewayAddress> toGatewayAddressList​(java.util.List<HttpURL> urls)
        Straight conversion between a list of HttpURLs and GatewayAddresses. See toGatewayAddress(HttpURL) for an explanation.
      • toHttpURLList

        public static java.util.List<HttpURL> toHttpURLList​(java.util.List<GatewayAddress> addresses)
        Straight conversion between a list of GatewayAddresses and HttpURLs. See toGatewayAddress(HttpURL) for an explanation.