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