public static enum AbstractConnection.State extends java.lang.Enum<AbstractConnection.State>
| Enum Constant and Description |
|---|
ACTIVE |
CONNECTING |
DISCONNECTED |
| Modifier and Type | Method and Description |
|---|---|
static AbstractConnection.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AbstractConnection.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractConnection.State CONNECTING
public static final AbstractConnection.State ACTIVE
public static final AbstractConnection.State DISCONNECTED
public static AbstractConnection.State[] values()
for (AbstractConnection.State c : AbstractConnection.State.values()) System.out.println(c);
public static AbstractConnection.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