public abstract class SocksMessage extends Object
SocksRequest and SocksResponse.SocksRequest,
SocksResponse| Modifier | Constructor and Description |
|---|---|
protected |
SocksMessage(SocksMessageType type) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
encodeAsByteBuf(ByteBuf byteBuf)
Encode socks message into its byte representation and write it into byteBuf
|
SocksProtocolVersion |
protocolVersion()
Returns the
SocksProtocolVersion of this SocksMessage |
SocksMessageType |
type()
Returns the
SocksMessageType of this SocksMessage |
protected SocksMessage(SocksMessageType type)
public SocksMessageType type()
SocksMessageType of this SocksMessageSocksMessageType of this SocksMessagepublic SocksProtocolVersion protocolVersion()
SocksProtocolVersion of this SocksMessageSocksProtocolVersion of this SocksMessagepublic abstract void encodeAsByteBuf(ByteBuf byteBuf)
Copyright © 2008–2013 The Netty Project. All rights reserved.