public abstract class SocksMessage extends Object
SocksRequest and SocksResponse.SocksRequest,
SocksResponse| Modifier and Type | Class and Description |
|---|---|
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 |
| Modifier | Constructor and Description |
|---|---|
protected |
SocksMessage(SocksMessage.MessageType messageType) |
| Modifier and Type | Method and Description |
|---|---|
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 SocksMessageSocksMessage.MessageType of this SocksMessagepublic SocksMessage.ProtocolVersion getProtocolVersion()
SocksMessage.ProtocolVersion of this SocksMessageSocksMessage.ProtocolVersion of this SocksMessagepublic abstract void encodeAsByteBuf(ChannelBuffer channelBuffer) throws Exception
ExceptionChannelBufferCopyright © 2008-2015 The Netty Project. All Rights Reserved.