Package io.netty.handler.codec.socksx.v5
Class Socks5PasswordAuthStatus
java.lang.Object
io.netty.handler.codec.socksx.v5.Socks5PasswordAuthStatus
- All Implemented Interfaces:
Comparable<Socks5PasswordAuthStatus>
public class Socks5PasswordAuthStatus
extends Object
implements Comparable<Socks5PasswordAuthStatus>
The status of
Socks5PasswordAuthResponse
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final byte
static final Socks5PasswordAuthStatus
private final String
static final Socks5PasswordAuthStatus
private String
-
Constructor Summary
ConstructorsConstructorDescriptionSocks5PasswordAuthStatus
(int byteValue) Socks5PasswordAuthStatus
(int byteValue, String name) -
Method Summary
-
Field Details
-
SUCCESS
-
FAILURE
-
byteValue
private final byte byteValue -
name
-
text
-
-
Constructor Details
-
Socks5PasswordAuthStatus
public Socks5PasswordAuthStatus(int byteValue) -
Socks5PasswordAuthStatus
-
-
Method Details
-
valueOf
-
byteValue
public byte byteValue() -
isSuccess
public boolean isSuccess() -
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Socks5PasswordAuthStatus>
-
toString
-