public abstract class SocksMessage
extends java.lang.Object
SocksRequest and SocksResponse.SocksRequest,
SocksResponse| 限定符 | 构造器和说明 |
|---|---|
protected |
SocksMessage(SocksMessageType type) |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract void |
encodeAsByteBuf(ByteBuf byteBuf)
已过时。
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 |
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)