public interface Socks5AddressEncoder
| Modifier and Type | Field and Description |
|---|---|
static Socks5AddressEncoder |
DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
void |
encodeAddress(Socks5AddressType addrType, java.lang.String addrValue, ByteBuf out)
编码一个SOCKS5地址。
|
static final Socks5AddressEncoder DEFAULT
void encodeAddress(Socks5AddressType addrType, java.lang.String addrValue, ByteBuf out) throws java.lang.Exception
addrType - 地址的类型
addrValue - 地址的字符串表示形式
out - 编码的SOCKS5地址字段将被写入的输出缓冲区
java.lang.Exception
Copyright © 2008–2018 The Netty Project. All rights reserved.