public final class SocksCmdResponse extends SocksResponse
SocksCmdRequest
,
SocksCmdResponseDecoder
SocksResponse.SocksResponseType
SocksMessage.AddressType, SocksMessage.AuthScheme, SocksMessage.AuthStatus, SocksMessage.CmdStatus, SocksMessage.CmdType, SocksMessage.MessageType, SocksMessage.ProtocolVersion, SocksMessage.SubnegotiationVersion
Constructor and Description |
---|
SocksCmdResponse(SocksMessage.CmdStatus cmdStatus,
SocksMessage.AddressType addressType) |
Modifier and Type | Method and Description |
---|---|
void |
encodeAsByteBuf(ChannelBuffer channelBuffer)
Encode socks message into its byte representation and write it into byteBuf
|
SocksMessage.AddressType |
getAddressType()
Returns the
AddressType of this SocksCmdResponse |
SocksMessage.CmdStatus |
getCmdStatus()
Returns the
CmdStatus of this SocksCmdResponse |
getSocksResponseType
getMessageType, getProtocolVersion
public SocksCmdResponse(SocksMessage.CmdStatus cmdStatus, SocksMessage.AddressType addressType)
public SocksMessage.CmdStatus getCmdStatus()
CmdStatus
of this SocksCmdResponse
CmdStatus
of this SocksCmdResponse
public SocksMessage.AddressType getAddressType()
AddressType
of this SocksCmdResponse
AddressType
of this SocksCmdResponse
public void encodeAsByteBuf(ChannelBuffer channelBuffer)
SocksMessage
encodeAsByteBuf
in class SocksMessage
ChannelBuffer
Copyright © 2008-2015 The Netty Project. All Rights Reserved.