protected static enum FrameBuilderDraft06.Opcode extends Enum<FrameBuilderDraft06.Opcode>
| Enum Constant and Description |
|---|
BINARY_FRAME
The BINARY_FRAME.
|
CONNECTION_CLOSE
The CONNECTION_CLOSE.
|
CONTINUATION
The CONTINUATION.
|
PING
The PING.
|
PONG
The PONG.
|
TEXT_FRAME
The TEXT_FRAME.
|
| Modifier and Type | Method and Description |
|---|---|
int |
intValue()
Int value.
|
static FrameBuilderDraft06.Opcode |
valueOf(int opc)
Value of.
|
static FrameBuilderDraft06.Opcode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FrameBuilderDraft06.Opcode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FrameBuilderDraft06.Opcode CONTINUATION
public static final FrameBuilderDraft06.Opcode CONNECTION_CLOSE
public static final FrameBuilderDraft06.Opcode PING
public static final FrameBuilderDraft06.Opcode PONG
public static final FrameBuilderDraft06.Opcode TEXT_FRAME
public static final FrameBuilderDraft06.Opcode BINARY_FRAME
public static FrameBuilderDraft06.Opcode[] values()
for (FrameBuilderDraft06.Opcode c : FrameBuilderDraft06.Opcode.values()) System.out.println(c);
public static FrameBuilderDraft06.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 nullpublic int intValue()
public static FrameBuilderDraft06.Opcode valueOf(int opc)
opc - the opcCopyright © 2021. All rights reserved.