public abstract class SocksMessage
extends java.lang.Object
SocksRequest
and SocksResponse
.SocksRequest
,
SocksResponse
限定符和类型 | 类和说明 |
---|---|
static class |
SocksMessage.AddressType |
static class |
SocksMessage.AuthScheme |
static class |
SocksMessage.AuthStatus |
static class |
SocksMessage.CmdStatus |
static class |
SocksMessage.CmdType |
static class |
SocksMessage.MessageType |
static class |
SocksMessage.ProtocolVersion |
static class |
SocksMessage.SubnegotiationVersion |
限定符 | 构造器和说明 |
---|---|
protected |
SocksMessage(SocksMessage.MessageType messageType) |
限定符和类型 | 方法和说明 |
---|---|
abstract void |
encodeAsByteBuf(ChannelBuffer channelBuffer)
Encode socks message into its byte representation and write it into byteBuf
|
SocksMessage.MessageType |
getMessageType()
Returns the
SocksMessage.MessageType of this SocksMessage |
SocksMessage.ProtocolVersion |
getProtocolVersion()
Returns the
SocksMessage.ProtocolVersion of this SocksMessage |
protected SocksMessage(SocksMessage.MessageType messageType)
public SocksMessage.MessageType getMessageType()
SocksMessage.MessageType
of this SocksMessage
SocksMessage.MessageType
of this SocksMessage
public SocksMessage.ProtocolVersion getProtocolVersion()
SocksMessage.ProtocolVersion
of this SocksMessage
SocksMessage.ProtocolVersion
of this SocksMessage
public abstract void encodeAsByteBuf(ChannelBuffer channelBuffer) throws java.lang.Exception
java.lang.Exception
ChannelBuffer