|Enum Constant and Description|
The client is currently connected
The client is currently connecting
The client is currently disconnected
The client is currently logged in
The client is currently logging in
|Modifier and Type||Method and Description|
| || |
Returns the enum constant of this type with the specified name.
| || |
Returns an array containing the constants of this enum type, in the order they are declared.
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
public static final ClientState DISCONNECTED
public static final ClientState CONNECTING
public static final ClientState CONNECTED
public static final ClientState LOGGING_IN
public static final ClientState LOGGED_IN
public static ClientState values()
for (ClientState c : ClientState.values()) System.out.println(c);
public static ClientState 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 name
java.lang.NullPointerException- if the argument is null