public static enum Packet.OpCode extends java.lang.Enum<Packet.OpCode>
IPCClient connected.| Modifier and Type | Method and Description |
|---|---|
static Packet.OpCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Packet.OpCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Packet.OpCode HANDSHAKE
public static final Packet.OpCode FRAME
public static final Packet.OpCode CLOSE
public static final Packet.OpCode PING
public static final Packet.OpCode PONG
public static Packet.OpCode[] values()
for (Packet.OpCode c : Packet.OpCode.values()) System.out.println(c);
public static Packet.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 null