Package io.netty.handler.codec.socksx.v4
Class Socks4CommandStatus
java.lang.Object
io.netty.handler.codec.socksx.v4.Socks4CommandStatus
- All Implemented Interfaces:
Comparable<Socks4CommandStatus>
The status of
Socks4CommandResponse
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final byte
static final Socks4CommandStatus
static final Socks4CommandStatus
private final String
static final Socks4CommandStatus
static final Socks4CommandStatus
private String
-
Constructor Summary
ConstructorsConstructorDescriptionSocks4CommandStatus
(int byteValue) Socks4CommandStatus
(int byteValue, String name) -
Method Summary
-
Field Details
-
SUCCESS
-
REJECTED_OR_FAILED
-
IDENTD_UNREACHABLE
-
IDENTD_AUTH_FAILURE
-
byteValue
private final byte byteValue -
name
-
text
-
-
Constructor Details
-
Socks4CommandStatus
public Socks4CommandStatus(int byteValue) -
Socks4CommandStatus
-
-
Method Details
-
valueOf
-
byteValue
public byte byteValue() -
isSuccess
public boolean isSuccess() -
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Socks4CommandStatus>
-
toString
-