public static enum RPC.MsgType extends java.lang.Enum<RPC.MsgType>
| Enum Constant and Description |
|---|
ADDED |
CHANGED |
CONNECTED |
OTHER |
PING |
READY |
RESULT |
| Modifier and Type | Method and Description |
|---|---|
static RPC.MsgType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RPC.MsgType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RPC.MsgType PING
public static final RPC.MsgType CONNECTED
public static final RPC.MsgType ADDED
public static final RPC.MsgType RESULT
public static final RPC.MsgType READY
public static final RPC.MsgType CHANGED
public static final RPC.MsgType OTHER
public static RPC.MsgType[] values()
for (RPC.MsgType c : RPC.MsgType.values()) System.out.println(c);
public static RPC.MsgType 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