public abstract class SocksMessage
extends java.lang.Object
SocksRequest and SocksResponse.SocksRequest,
SocksResponse| Modifier and Type | Field and Description |
|---|---|
private SocksProtocolVersion |
protocolVersion |
private SocksMessageType |
type |
| Modifier | Constructor and Description |
|---|---|
protected |
SocksMessage(SocksMessageType type) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
encodeAsByteBuf(ByteBuf byteBuf)
Deprecated.
Do not use; this method was intended for an internal use only.
|
SocksProtocolVersion |
protocolVersion()
Returns the
SocksProtocolVersion of this SocksMessage |
SocksMessageType |
type()
Returns the
SocksMessageType of this SocksMessage |
private final SocksMessageType type
private final SocksProtocolVersion protocolVersion
protected SocksMessage(SocksMessageType type)
public SocksMessageType type()
SocksMessageType of this SocksMessageSocksMessageType of this SocksMessagepublic SocksProtocolVersion protocolVersion()
SocksProtocolVersion of this SocksMessageSocksProtocolVersion of this SocksMessage@Deprecated public abstract void encodeAsByteBuf(ByteBuf byteBuf)