public class Socks5AddressType extends Object implements Comparable<Socks5AddressType>
Socks5CommandRequest
and Socks5CommandResponse
.Modifier and Type | Field and Description |
---|---|
static Socks5AddressType |
DOMAIN |
static Socks5AddressType |
IPv4 |
static Socks5AddressType |
IPv6 |
Constructor and Description |
---|
Socks5AddressType(int byteValue) |
Socks5AddressType(int byteValue,
String name) |
Modifier and Type | Method and Description |
---|---|
byte |
byteValue() |
int |
compareTo(Socks5AddressType o) |
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString() |
static Socks5AddressType |
valueOf(byte b) |
public static final Socks5AddressType IPv4
public static final Socks5AddressType DOMAIN
public static final Socks5AddressType IPv6
public Socks5AddressType(int byteValue)
public Socks5AddressType(int byteValue, String name)
public static Socks5AddressType valueOf(byte b)
public byte byteValue()
public int compareTo(Socks5AddressType o)
compareTo
in interface Comparable<Socks5AddressType>
Copyright © 2008–2024 The Netty Project. All rights reserved.