@UnstableApi public static enum Socks4ServerDecoder.State extends Enum<Socks4ServerDecoder.State>
Enum Constant and Description |
---|
FAILURE |
READ_DOMAIN |
READ_USERID |
START |
SUCCESS |
Modifier and Type | Method and Description |
---|---|
static Socks4ServerDecoder.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Socks4ServerDecoder.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Socks4ServerDecoder.State START
public static final Socks4ServerDecoder.State READ_USERID
public static final Socks4ServerDecoder.State READ_DOMAIN
public static final Socks4ServerDecoder.State SUCCESS
public static final Socks4ServerDecoder.State FAILURE
public static Socks4ServerDecoder.State[] values()
for (Socks4ServerDecoder.State c : Socks4ServerDecoder.State.values()) System.out.println(c);
public static Socks4ServerDecoder.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–2024 The Netty Project. All rights reserved.