Package io.netty.handler.codec.socksx.v5
Class Socks5CommandType
- java.lang.Object
-
- io.netty.handler.codec.socksx.v5.Socks5CommandType
-
- All Implemented Interfaces:
Comparable<Socks5CommandType>
public class Socks5CommandType extends Object implements Comparable<Socks5CommandType>
The type ofSocks5CommandRequest.
-
-
Field Summary
Fields Modifier and Type Field Description static Socks5CommandTypeBINDstatic Socks5CommandTypeCONNECTstatic Socks5CommandTypeUDP_ASSOCIATE
-
Constructor Summary
Constructors Constructor Description Socks5CommandType(int byteValue)Socks5CommandType(int byteValue, String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description bytebyteValue()intcompareTo(Socks5CommandType o)booleanequals(Object obj)inthashCode()StringtoString()static Socks5CommandTypevalueOf(byte b)
-
-
-
Field Detail
-
CONNECT
public static final Socks5CommandType CONNECT
-
BIND
public static final Socks5CommandType BIND
-
UDP_ASSOCIATE
public static final Socks5CommandType UDP_ASSOCIATE
-
-
Constructor Detail
-
Socks5CommandType
public Socks5CommandType(int byteValue)
-
Socks5CommandType
public Socks5CommandType(int byteValue, String name)
-
-
Method Detail
-
valueOf
public static Socks5CommandType valueOf(byte b)
-
byteValue
public byte byteValue()
-
compareTo
public int compareTo(Socks5CommandType o)
- Specified by:
compareToin interfaceComparable<Socks5CommandType>
-
-