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