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