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 Socks4CommandType
BIND
static Socks4CommandType
CONNECT
-
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 byte
byteValue()
int
compareTo(Socks4CommandType o)
boolean
equals(Object obj)
int
hashCode()
String
toString()
static Socks4CommandType
valueOf(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:
compareTo
in interfaceComparable<Socks4CommandType>
-
-