public class Socks5CommandStatus extends Object implements Comparable<Socks5CommandStatus>
Socks5CommandResponse
.Modifier and Type | Field and Description |
---|---|
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 |
Constructor and Description |
---|
Socks5CommandStatus(int byteValue) |
Socks5CommandStatus(int byteValue,
String name) |
Modifier and Type | Method and Description |
---|---|
byte |
byteValue() |
int |
compareTo(Socks5CommandStatus o) |
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isSuccess() |
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, String name)
public static Socks5CommandStatus valueOf(byte b)
public byte byteValue()
public boolean isSuccess()
public int compareTo(Socks5CommandStatus o)
compareTo
in interface Comparable<Socks5CommandStatus>
Copyright © 2008–2017 The Netty Project. All rights reserved.