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