Package io.netty.handler.codec.socks
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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SocksProtocolVersion
private final SocksMessageType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
encodeAsByteBuf
(ByteBuf byteBuf) Deprecated.Do not use; this method was intended for an internal use only.Returns theSocksProtocolVersion
of thisSocksMessage
type()
Returns theSocksMessageType
of thisSocksMessage
-
Field Details
-
type
-
protocolVersion
-
-
Constructor Details
-
SocksMessage
-
-
Method Details
-
type
Returns theSocksMessageType
of thisSocksMessage
- Returns:
- The
SocksMessageType
of thisSocksMessage
-
protocolVersion
Returns theSocksProtocolVersion
of thisSocksMessage
- Returns:
- The
SocksProtocolVersion
of thisSocksMessage
-
encodeAsByteBuf
Deprecated.Do not use; this method was intended for an internal use only.
-