public static enum Channel.State extends java.lang.Enum<Channel.State>
| Enum Constant and Description |
|---|
CREATED |
DESTROY_FAILED |
DESTROYED |
JOIN_FAILED |
JOINED |
JOINING |
LEAVE_FAILED |
LEFT |
| Modifier and Type | Method and Description |
|---|---|
static Channel.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Channel.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Channel.State CREATED
public static final Channel.State JOINING
public static final Channel.State JOINED
public static final Channel.State JOIN_FAILED
public static final Channel.State LEFT
public static final Channel.State LEAVE_FAILED
public static final Channel.State DESTROYED
public static final Channel.State DESTROY_FAILED
public static Channel.State[] values()
for (Channel.State c : Channel.State.values()) System.out.println(c);
public static Channel.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