Package io.netty.handler.codec.socksx.v5
Class Socks5CommandType
java.lang.Object
io.netty.handler.codec.socksx.v5.Socks5CommandType
- All Implemented Interfaces:
Comparable<Socks5CommandType>
The type of
Socks5CommandRequest
.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Socks5CommandType
private final byte
static final Socks5CommandType
private final String
private String
static final Socks5CommandType
-
Constructor Summary
ConstructorsConstructorDescriptionSocks5CommandType
(int byteValue) Socks5CommandType
(int byteValue, String name) -
Method Summary
Modifier and TypeMethodDescriptionbyte
int
boolean
int
hashCode()
toString()
static Socks5CommandType
valueOf
(byte b)
-
Field Details
-
CONNECT
-
BIND
-
UDP_ASSOCIATE
-
byteValue
private final byte byteValue -
name
-
text
-
-
Constructor Details
-
Socks5CommandType
public Socks5CommandType(int byteValue) -
Socks5CommandType
-
-
Method Details
-
valueOf
-
byteValue
public byte byteValue() -
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Socks5CommandType>
-
toString
-