public class Socks5CommandStatus extends java.lang.Object implements java.lang.Comparable<Socks5CommandStatus>
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, java.lang.String name) |
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
Copyright © 2008–2018 The Netty Project. All rights reserved.