
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.MessageTypeof thisSocksMessage | 
| SocksMessage.ProtocolVersion | getProtocolVersion()Returns the  SocksMessage.ProtocolVersionof thisSocksMessage | 
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-2014 The Netty Project. All Rights Reserved.