public class GatewayConnectionManager
extends java.lang.Object
Constructor and Description |
---|
GatewayConnectionManager() |
Modifier and Type | Method and Description |
---|---|
static GatewayConnection |
getInstance()
Returns the shared instance of the GatewayConnection
|
static boolean |
isInitialized() |
static void |
setConnection(GatewayConnection con) |
static GatewayAddress |
toGatewayAddress(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 HttpURL |
toHttpURL(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.
|
public static GatewayConnection getInstance()
public static void setConnection(GatewayConnection con)
public static boolean isInitialized()
public static GatewayAddress toGatewayAddress(HttpURL url)
public static java.util.List<GatewayAddress> toGatewayAddressList(java.util.List<HttpURL> urls)
toGatewayAddress(HttpURL)
for
an
explanation.public static HttpURL toHttpURL(GatewayAddress addr)
toGatewayAddress(HttpURL)
for an
explanation.public static java.util.List<HttpURL> toHttpURLList(java.util.List<GatewayAddress> addresses)
toGatewayAddress(HttpURL)
for
an
explanation.