public static enum SocksMessage.MessageType extends Enum<SocksMessage.MessageType>
Modifier and Type | Method and Description |
---|---|
static SocksMessage.MessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SocksMessage.MessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SocksMessage.MessageType REQUEST
public static final SocksMessage.MessageType RESPONSE
public static final SocksMessage.MessageType UNKNOWN
public static SocksMessage.MessageType[] values()
for (SocksMessage.MessageType c : SocksMessage.MessageType.values()) System.out.println(c);
public static SocksMessage.MessageType 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.