public class Socks4CommandStatus extends java.lang.Object implements java.lang.Comparable<Socks4CommandStatus>
Socks4CommandResponse.| Modifier and Type | Field and Description |
|---|---|
static Socks4CommandStatus |
IDENTD_AUTH_FAILURE |
static Socks4CommandStatus |
IDENTD_UNREACHABLE |
static Socks4CommandStatus |
REJECTED_OR_FAILED |
static Socks4CommandStatus |
SUCCESS |
| Constructor and Description |
|---|
Socks4CommandStatus(int byteValue) |
Socks4CommandStatus(int byteValue,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
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 in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int compareTo(Socks4CommandStatus o)
compareTo in interface java.lang.Comparable<Socks4CommandStatus>public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2008–2019 The Netty Project. All rights reserved.