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
|
responseType
protocolVersion, type
public SocksCmdResponse(SocksCmdStatus cmdStatus, SocksAddressType addressType)
public SocksCmdStatus cmdStatus()
SocksCmdStatus
of this SocksCmdResponse
SocksCmdStatus
of this SocksCmdResponse
public SocksAddressType addressType()
SocksAddressType
of this SocksCmdResponse
SocksAddressType
of this SocksCmdResponse
public void encodeAsByteBuf(ByteBuf byteBuf)
SocksMessage
encodeAsByteBuf
in class SocksMessage
Copyright © 2008–2014 The Netty Project. All rights reserved.