public final class SocksCmdResponse extends SocksResponse
SocksResponse.SocksResponseType
SocksMessage.AddressType, SocksMessage.AuthScheme, SocksMessage.AuthStatus, SocksMessage.CmdStatus, SocksMessage.CmdType, SocksMessage.MessageType, SocksMessage.ProtocolVersion, SocksMessage.SubnegotiationVersion
构造器和说明 |
---|
SocksCmdResponse(SocksMessage.CmdStatus cmdStatus,
SocksMessage.AddressType addressType) |
限定符和类型 | 方法和说明 |
---|---|
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
在类中 SocksMessage
ChannelBuffer