public interface Socks5AddressEncoder
Socks5ClientEncoder,
Socks5ServerEncoder| Modifier and Type | Field and Description |
|---|---|
static Socks5AddressEncoder |
DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
void |
encodeAddress(Socks5AddressType addrType,
String addrValue,
ByteBuf out)
Encodes a SOCKS5 address.
|
static final Socks5AddressEncoder DEFAULT
void encodeAddress(Socks5AddressType addrType, String addrValue, ByteBuf out) throws 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 toExceptionCopyright © 2008–2015 The Netty Project. All rights reserved.