public class Socks4CommandStatus extends java.lang.Object implements java.lang.Comparable<Socks4CommandStatus>
Socks4CommandResponse
.限定符和类型 | 字段和说明 |
---|---|
static Socks4CommandStatus |
IDENTD_AUTH_FAILURE |
static Socks4CommandStatus |
IDENTD_UNREACHABLE |
static Socks4CommandStatus |
REJECTED_OR_FAILED |
static Socks4CommandStatus |
SUCCESS |
构造器和说明 |
---|
Socks4CommandStatus(int byteValue) |
Socks4CommandStatus(int byteValue,
java.lang.String name) |
限定符和类型 | 方法和说明 |
---|---|
byte |
byteValue() |
int |
compareTo(Socks4CommandStatus o) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
boolean |
isSuccess() |
java.lang.String |
toString() |
static Socks4CommandStatus |
valueOf(byte b) |
public static final Socks4CommandStatus SUCCESS
public static final Socks4CommandStatus REJECTED_OR_FAILED
public static final Socks4CommandStatus IDENTD_UNREACHABLE
public static final Socks4CommandStatus IDENTD_AUTH_FAILURE
public Socks4CommandStatus(int byteValue)
public Socks4CommandStatus(int byteValue, java.lang.String name)
public static Socks4CommandStatus 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(Socks4CommandStatus o)
compareTo
在接口中 java.lang.Comparable<Socks4CommandStatus>
public java.lang.String toString()
toString
在类中 java.lang.Object