public final class SocksCmdResponse extends SocksResponse
SocksCmdRequest,
SocksCmdResponseDecoder| Constructor and Description |
|---|
SocksCmdResponse(SocksCmdStatus cmdStatus,
SocksAddressType addressType) |
| Modifier and Type | Method and Description |
|---|---|
SocksAddressType |
addressType()
Returns the
SocksAddressType of this SocksCmdResponse |
SocksCmdStatus |
cmdStatus()
Returns the
SocksCmdStatus of this SocksCmdResponse |
void |
encodeAsByteBuf(ByteBuf byteBuf)
Encode socks message into its byte representation and write it into byteBuf
|
responseTypeprotocolVersion, typepublic SocksCmdResponse(SocksCmdStatus cmdStatus, SocksAddressType addressType)
public SocksCmdStatus cmdStatus()
SocksCmdStatus of this SocksCmdResponseSocksCmdStatus of this SocksCmdResponsepublic SocksAddressType addressType()
SocksAddressType of this SocksCmdResponseSocksAddressType of this SocksCmdResponsepublic void encodeAsByteBuf(ByteBuf byteBuf)
SocksMessageencodeAsByteBuf in class SocksMessageCopyright © 2008–2013 The Netty Project. All rights reserved.