Package io.netty.handler.codec.socksx.v5
Interface Socks5AddressEncoder
public interface Socks5AddressEncoder
Encodes a SOCKS5 address into binary representation.
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
encodeAddress
(Socks5AddressType addrType, String addrValue, ByteBuf out) Encodes a SOCKS5 address.
-
Field Details
-
DEFAULT
-
-
Method Details
-
encodeAddress
Encodes a SOCKS5 address.- Parameters:
addrType
- the type of the addressaddrValue
- the string representation of the addressout
- the output buffer where the encoded SOCKS5 address field will be written to- Throws:
Exception
-