protected static enum FrameBuilderDraft06.Opcode extends Enum<FrameBuilderDraft06.Opcode>
| 枚举常量和说明 |
|---|
BINARY_FRAME
The BINARY_FRAME.
|
CONNECTION_CLOSE
The CONNECTION_CLOSE.
|
CONTINUATION
The CONTINUATION.
|
PING
The PING.
|
PONG
The PONG.
|
TEXT_FRAME
The TEXT_FRAME.
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
intValue()
Int value.
|
static FrameBuilderDraft06.Opcode |
valueOf(int opc)
Value of.
|
static FrameBuilderDraft06.Opcode |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static FrameBuilderDraft06.Opcode[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
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 - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public int intValue()
public static FrameBuilderDraft06.Opcode valueOf(int opc)
opc - the opcCopyright © 2020. All rights reserved.