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