public interface Socks5AddressEncoder
限定符和类型 | 字段和说明 |
---|---|
static Socks5AddressEncoder |
DEFAULT |
限定符和类型 | 方法和说明 |
---|---|
void |
encodeAddress(Socks5AddressType addrType,
java.lang.String addrValue,
ByteBuf out)
Encodes a SOCKS5 address.
|
static final Socks5AddressEncoder DEFAULT
void encodeAddress(Socks5AddressType addrType, java.lang.String addrValue, ByteBuf out) throws java.lang.Exception
addrType
- the type of the addressaddrValue
- the string representation of the addressout
- the output buffer where the encoded SOCKS5 address field will be written tojava.lang.Exception