public static enum ConnectManager.STATE extends java.lang.Enum<ConnectManager.STATE>
Enum Constant and Description |
---|
STATE_CONNECTED |
STATE_CONNECTING |
STATE_DISCONNECTED |
STATE_RECONNECTING |
Modifier and Type | Method and Description |
---|---|
static ConnectManager.STATE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConnectManager.STATE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectManager.STATE STATE_CONNECTING
public static final ConnectManager.STATE STATE_CONNECTED
public static final ConnectManager.STATE STATE_DISCONNECTED
public static final ConnectManager.STATE STATE_RECONNECTING
public static ConnectManager.STATE[] values()
for (ConnectManager.STATE c : ConnectManager.STATE.values()) System.out.println(c);
public static ConnectManager.STATE valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null