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 Socks4CommandTypeprivate final bytestatic final Socks4CommandTypeprivate final Stringprivate String -
Constructor Summary
ConstructorsConstructorDescriptionSocks4CommandType(int byteValue) Socks4CommandType(int byteValue, String name) -
Method Summary
Modifier and TypeMethodDescriptionbyteintbooleaninthashCode()toString()static Socks4CommandTypevalueOf(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:
compareToin interfaceComparable<Socks4CommandType>
-
toString
-