public static enum Framedata.Opcode extends Enum<Framedata.Opcode>
Enum Constant and Description |
---|
BINARY |
CLOSING |
CONTINUOUS |
PING |
PONG |
TEXT |
Modifier and Type | Method and Description |
---|---|
static Framedata.Opcode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Framedata.Opcode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Framedata.Opcode CONTINUOUS
public static final Framedata.Opcode TEXT
public static final Framedata.Opcode BINARY
public static final Framedata.Opcode PING
public static final Framedata.Opcode PONG
public static final Framedata.Opcode CLOSING
public static Framedata.Opcode[] values()
for (Framedata.Opcode c : Framedata.Opcode.values()) System.out.println(c);
public static Framedata.Opcode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2013. All Rights Reserved.