| Enum Constant and Description |
|---|
DISPATCH |
HEARTBEAT |
HEARTBEAT_ACK |
HELLO |
HTTP_CALLBACK_ACK |
IDENTIFY |
INVALID_SESSION |
RECONNECT |
RESUME |
| Modifier and Type | Method and Description |
|---|---|
static OpCode |
parse(int code) |
static OpCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OpCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpCode DISPATCH
public static final OpCode HEARTBEAT
public static final OpCode IDENTIFY
public static final OpCode RESUME
public static final OpCode RECONNECT
public static final OpCode INVALID_SESSION
public static final OpCode HELLO
public static final OpCode HEARTBEAT_ACK
public static final OpCode HTTP_CALLBACK_ACK
public static OpCode[] values()
for (OpCode c : OpCode.values()) System.out.println(c);
public static OpCode 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 static OpCode parse(int code)