Class DefaultSocks5PrivateAuthResponse
java.lang.Object
io.netty.handler.codec.socksx.AbstractSocksMessage
io.netty.handler.codec.socksx.v5.AbstractSocks5Message
io.netty.handler.codec.socksx.v5.DefaultSocks5PrivateAuthResponse
- All Implemented Interfaces:
DecoderResultProvider, SocksMessage, Socks5Message, Socks5PrivateAuthResponse
public final class DefaultSocks5PrivateAuthResponse
extends AbstractSocks5Message
implements Socks5PrivateAuthResponse
The default
Socks5PrivateAuthResponse implementation.-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance with the specified status. -
Method Summary
Methods inherited from class AbstractSocks5Message
versionModifier and TypeMethodDescriptionfinal SocksVersionversion()Returns the protocol version of this message.Methods inherited from class AbstractSocksMessage
decoderResult, setDecoderResultModifier and TypeMethodDescriptionReturns the result of decoding this object.voidsetDecoderResult(DecoderResult decoderResult) Updates the result of decoding this object.
-
Constructor Details
-
DefaultSocks5PrivateAuthResponse
Creates a new instance with the specified status.- Parameters:
authStatus- the authentication status
-
-
Method Details
-
status
Description copied from interface:Socks5PrivateAuthResponseReturns the status of this response.- Specified by:
statusin interfaceSocks5PrivateAuthResponse- Returns:
- the authentication status
-
toString
-