public interface Socks5AddressDecoder
Modifier and Type | Field and Description |
---|---|
static Socks5AddressDecoder |
DEFAULT |
Modifier and Type | Method and Description |
---|---|
String |
decodeAddress(Socks5AddressType addrType,
ByteBuf in)
Decodes a SOCKS5 address field into its string representation.
|
static final Socks5AddressDecoder DEFAULT
String decodeAddress(Socks5AddressType addrType, ByteBuf in) throws Exception
addrType
- the type of the addressin
- the input buffer which contains the SOCKS5 address field at its reader indexException
Copyright © 2008–2017 The Netty Project. All rights reserved.