public class Socks5CommandStatus extends java.lang.Object implements java.lang.Comparable<Socks5CommandStatus>
Socks5CommandResponse
.限定符和类型 | 字段和说明 |
---|---|
static Socks5CommandStatus |
ADDRESS_UNSUPPORTED |
static Socks5CommandStatus |
COMMAND_UNSUPPORTED |
static Socks5CommandStatus |
CONNECTION_REFUSED |
static Socks5CommandStatus |
FAILURE |
static Socks5CommandStatus |
FORBIDDEN |
static Socks5CommandStatus |
HOST_UNREACHABLE |
static Socks5CommandStatus |
NETWORK_UNREACHABLE |
static Socks5CommandStatus |
SUCCESS |
static Socks5CommandStatus |
TTL_EXPIRED |
构造器和说明 |
---|
Socks5CommandStatus(int byteValue) |
Socks5CommandStatus(int byteValue,
java.lang.String name) |
限定符和类型 | 方法和说明 |
---|---|
byte |
byteValue() |
int |
compareTo(Socks5CommandStatus o) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
boolean |
isSuccess() |
java.lang.String |
toString() |
static Socks5CommandStatus |
valueOf(byte b) |
public static final Socks5CommandStatus SUCCESS
public static final Socks5CommandStatus FAILURE
public static final Socks5CommandStatus FORBIDDEN
public static final Socks5CommandStatus NETWORK_UNREACHABLE
public static final Socks5CommandStatus HOST_UNREACHABLE
public static final Socks5CommandStatus CONNECTION_REFUSED
public static final Socks5CommandStatus TTL_EXPIRED
public static final Socks5CommandStatus COMMAND_UNSUPPORTED
public static final Socks5CommandStatus ADDRESS_UNSUPPORTED
public Socks5CommandStatus(int byteValue)
public Socks5CommandStatus(int byteValue, java.lang.String name)
public static Socks5CommandStatus valueOf(byte b)
public byte byteValue()
public boolean isSuccess()
public int hashCode()
hashCode
在类中 java.lang.Object
public boolean equals(java.lang.Object obj)
equals
在类中 java.lang.Object
public int compareTo(Socks5CommandStatus o)
compareTo
在接口中 java.lang.Comparable<Socks5CommandStatus>
public java.lang.String toString()
toString
在类中 java.lang.Object