Class SocksMessage
java.lang.Object
io.netty.handler.codec.socks.SocksMessage
- Direct Known Subclasses:
SocksRequest, SocksResponse
An abstract class that defines a SocksMessage, providing common properties for
SocksRequest and SocksResponse.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidencodeAsByteBuf(ByteBuf byteBuf) Deprecated.Do not use; this method was intended for an internal use only.Returns theSocksProtocolVersionof thisSocksMessagetype()Returns theSocksMessageTypeof thisSocksMessage
-
Constructor Details
-
SocksMessage
-
-
Method Details
-
type
Returns theSocksMessageTypeof thisSocksMessage- Returns:
- The
SocksMessageTypeof thisSocksMessage
-
protocolVersion
Returns theSocksProtocolVersionof thisSocksMessage- Returns:
- The
SocksProtocolVersionof thisSocksMessage
-
encodeAsByteBuf
Deprecated.Do not use; this method was intended for an internal use only.
-