public static enum ClientLocation.AddressType extends Enum<ClientLocation.AddressType>
Enum Constant and Description |
---|
GLOBAL
The address is a standard global internet address.
|
LOCAL
The address is a site local address.
|
LOOPBACK
The address is assigned to the server loopback interface.
|
UNKNOWN
The address type is unknown.
|
Modifier and Type | Method and Description |
---|---|
static ClientLocation.AddressType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClientLocation.AddressType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientLocation.AddressType GLOBAL
public static final ClientLocation.AddressType LOCAL
public static final ClientLocation.AddressType LOOPBACK
public static final ClientLocation.AddressType UNKNOWN
public static ClientLocation.AddressType[] values()
for (ClientLocation.AddressType c : ClientLocation.AddressType.values()) System.out.println(c);
public static ClientLocation.AddressType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020 Push Technology Ltd. All Rights Reserved.