public static enum SocksCmdResponseDecoder.State extends java.lang.Enum<SocksCmdResponseDecoder.State>
枚举常量和说明 |
---|
CHECK_PROTOCOL_VERSION |
READ_CMD_ADDRESS |
READ_CMD_HEADER |
限定符和类型 | 方法和说明 |
---|---|
static SocksCmdResponseDecoder.State |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static SocksCmdResponseDecoder.State[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final SocksCmdResponseDecoder.State CHECK_PROTOCOL_VERSION
public static final SocksCmdResponseDecoder.State READ_CMD_HEADER
public static final SocksCmdResponseDecoder.State READ_CMD_ADDRESS
public static SocksCmdResponseDecoder.State[] values()
for (SocksCmdResponseDecoder.State c : SocksCmdResponseDecoder.State.values()) System.out.println(c);
public static SocksCmdResponseDecoder.State valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值