Package io.netty.handler.codec.socksx.v5
Interface Socks5AddressEncoder
-
public interface Socks5AddressEncoder
Encodes a SOCKS5 address into binary representation.- See Also:
Socks5ClientEncoder
,Socks5ServerEncoder
-
-
Field Summary
Fields Modifier and Type Field Description static Socks5AddressEncoder
DEFAULT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
encodeAddress(Socks5AddressType addrType, java.lang.String addrValue, ByteBuf out)
Encodes a SOCKS5 address.
-
-
-
Field Detail
-
DEFAULT
static final Socks5AddressEncoder DEFAULT
-
-
Method Detail
-
encodeAddress
void encodeAddress(Socks5AddressType addrType, java.lang.String addrValue, ByteBuf out) throws java.lang.Exception
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:
java.lang.Exception
-
-