public static enum SocksCmdResponseDecoder.State extends Enum<SocksCmdResponseDecoder.State>
Enum Constant and Description |
---|
CHECK_PROTOCOL_VERSION |
READ_CMD_ADDRESS |
READ_CMD_HEADER |
Modifier and Type | Method and Description |
---|---|
static SocksCmdResponseDecoder.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SocksCmdResponseDecoder.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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(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 © 2008-2015 The Netty Project. All Rights Reserved.