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 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 Exception
Exception
ChannelBuffer
Copyright © 2008-2014 The Netty Project. All Rights Reserved.