public enum SocksCmdType extends java.lang.Enum<SocksCmdType>
Modifier and Type | Method and Description |
---|---|
byte |
byteValue() |
static SocksCmdType |
fromByte(byte b)
Deprecated.
Use
valueOf(byte) instead. |
static SocksCmdType |
valueOf(byte b) |
static SocksCmdType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SocksCmdType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SocksCmdType CONNECT
public static final SocksCmdType BIND
public static final SocksCmdType UDP
public static final SocksCmdType UNKNOWN
public static SocksCmdType[] values()
for (SocksCmdType c : SocksCmdType.values()) System.out.println(c);
public static SocksCmdType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@Deprecated public static SocksCmdType fromByte(byte b)
valueOf(byte)
instead.public static SocksCmdType valueOf(byte b)
public byte byteValue()
Copyright © 2008–2018 The Netty Project. All rights reserved.