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 SocksMessage
SocksMessageType
of this SocksMessage
public SocksProtocolVersion protocolVersion()
SocksProtocolVersion
of this SocksMessage
SocksProtocolVersion
of this SocksMessage
public abstract void encodeAsByteBuf(ByteBuf byteBuf)
Copyright © 2008–2013 The Netty Project. All rights reserved.