public static enum SocksMessage.AuthStatus extends Enum<SocksMessage.AuthStatus>
Modifier and Type | Method and Description |
---|---|
static SocksMessage.AuthStatus |
fromByte(byte b) |
byte |
getByteValue() |
static SocksMessage.AuthStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SocksMessage.AuthStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SocksMessage.AuthStatus SUCCESS
public static final SocksMessage.AuthStatus FAILURE
public static SocksMessage.AuthStatus[] values()
for (SocksMessage.AuthStatus c : SocksMessage.AuthStatus.values()) System.out.println(c);
public static SocksMessage.AuthStatus 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 nullpublic static SocksMessage.AuthStatus fromByte(byte b)
public byte getByteValue()
Copyright © 2008-2014 The Netty Project. All Rights Reserved.