public static enum AdapterController.State extends java.lang.Enum<AdapterController.State>
| Enum Constant and Description |
|---|
CONTINUOUS
Continuously waiting for more data to come
|
DEAD
Exited, can't do anything useful any more, until requested to restart
|
DONE
No more input will follow, the thread will exit soon
|
IDLE
On timeout or trying to restore a broken socket
|
INITIAL
Performing start-up and initial loading
|
READY
Ready to be started
|
| Modifier and Type | Method and Description |
|---|---|
int |
code() |
static AdapterController.State |
parseInt(int code) |
static AdapterController.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AdapterController.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdapterController.State READY
public static final AdapterController.State INITIAL
public static final AdapterController.State CONTINUOUS
public static final AdapterController.State IDLE
public static final AdapterController.State DONE
public static final AdapterController.State DEAD
public static AdapterController.State[] values()
for (AdapterController.State c : AdapterController.State.values()) System.out.println(c);
public static AdapterController.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 nullpublic int code()
public static AdapterController.State parseInt(int code)