public static enum ConnectionManager.InitializationType extends Enum<ConnectionManager.InitializationType>
Enum Constant and Description |
---|
ACCEPT
Denotes accepting from a local address.
|
CONNECT
Denotes connecting to a remote address.
|
REGISTER
Denotes registration of an existing, unmanaged connection.
|
Modifier and Type | Method and Description |
---|---|
static ConnectionManager.InitializationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionManager.InitializationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionManager.InitializationType CONNECT
public static final ConnectionManager.InitializationType ACCEPT
public static final ConnectionManager.InitializationType REGISTER
public static ConnectionManager.InitializationType[] values()
for (ConnectionManager.InitializationType c : ConnectionManager.InitializationType.values()) System.out.println(c);
public static ConnectionManager.InitializationType 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 null