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