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