|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<ControllerInfo.ControllerState>
com.greenthrottle.gcs.api.ControllerInfo.ControllerState
public static enum ControllerInfo.ControllerState
State of this controller.
| Enum Constant Summary | |
|---|---|
CONNECTED_BOUND
Connected and assigned to a player_id |
|
CONNECTED_UNBOUND
Connected, but not yet assigned a player_id |
|
DISCONNECTED
Disconnected |
|
DISCOVERED
Discovered, but not yet connected |
|
INVALID
|
|
| Method Summary | |
|---|---|
static ControllerInfo.ControllerState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ControllerInfo.ControllerState[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ControllerInfo.ControllerState INVALID
public static final ControllerInfo.ControllerState DISCOVERED
public static final ControllerInfo.ControllerState CONNECTED_UNBOUND
public static final ControllerInfo.ControllerState CONNECTED_BOUND
public static final ControllerInfo.ControllerState DISCONNECTED
| Method Detail |
|---|
public static ControllerInfo.ControllerState[] values()
for (ControllerInfo.ControllerState c : ControllerInfo.ControllerState.values()) System.out.println(c);
public static ControllerInfo.ControllerState 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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||