public class Socks5AddressType extends java.lang.Object implements java.lang.Comparable<Socks5AddressType>
Modifier and Type | Field and Description |
---|---|
static Socks5AddressType |
DOMAIN |
static Socks5AddressType |
IPv4 |
static Socks5AddressType |
IPv6 |
Constructor and Description |
---|
Socks5AddressType(int byteValue) |
Socks5AddressType(int byteValue, java.lang.String name) |
public static final Socks5AddressType IPv4
public static final Socks5AddressType DOMAIN
public static final Socks5AddressType IPv6
public Socks5AddressType(int byteValue)
public Socks5AddressType(int byteValue, java.lang.String name)
public static Socks5AddressType valueOf(byte b)
public byte byteValue()
public int hashCode()
hashCode
在课程
java.lang.Object
public boolean equals(java.lang.Object obj)
equals
在课程
java.lang.Object
public int compareTo(Socks5AddressType o)
compareTo
在界面
java.lang.Comparable<Socks5AddressType>
public java.lang.String toString()
toString
java.lang.Object
Copyright © 2008–2018 The Netty Project. All rights reserved.