public static enum SocksInitResponseDecoder.State extends Enum<SocksInitResponseDecoder.State>
Enum Constant and Description |
---|
CHECK_PROTOCOL_VERSION |
READ_PREFFERED_AUTH_TYPE |
Modifier and Type | Method and Description |
---|---|
static SocksInitResponseDecoder.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SocksInitResponseDecoder.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SocksInitResponseDecoder.State CHECK_PROTOCOL_VERSION
public static final SocksInitResponseDecoder.State READ_PREFFERED_AUTH_TYPE
public static SocksInitResponseDecoder.State[] values()
for (SocksInitResponseDecoder.State c : SocksInitResponseDecoder.State.values()) System.out.println(c);
public static SocksInitResponseDecoder.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-2016 The Netty Project. All Rights Reserved.