public static enum Network.CommandId extends java.lang.Enum<Network.CommandId> implements CommandIdInterface
| Enum Constant and Description |
|---|
CREATE_CHANNEL |
DELETE_CHANNEL |
GET_AVAILABLE_CHANNELS |
| Modifier and Type | Method and Description |
|---|---|
int |
getInt() |
static Network.CommandId |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Network.CommandId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Network.CommandId CREATE_CHANNEL
public static final Network.CommandId DELETE_CHANNEL
public static final Network.CommandId GET_AVAILABLE_CHANNELS
public static Network.CommandId[] values()
for (Network.CommandId c : Network.CommandId.values()) System.out.println(c);
public static Network.CommandId 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 getInt()
getInt in interface CommandIdInterface