public final class SocksAuthResponse extends SocksResponse
SocksAuthRequest
,
SocksAuthResponseDecoder
SocksResponse.SocksResponseType
SocksMessage.AddressType, SocksMessage.AuthScheme, SocksMessage.AuthStatus, SocksMessage.CmdStatus, SocksMessage.CmdType, SocksMessage.MessageType, SocksMessage.ProtocolVersion, SocksMessage.SubnegotiationVersion
Constructor and Description |
---|
SocksAuthResponse(SocksMessage.AuthStatus authStatus) |
Modifier and Type | Method and Description |
---|---|
void |
encodeAsByteBuf(ChannelBuffer channelBuffer)
Encode socks message into its byte representation and write it into byteBuf
|
SocksMessage.AuthStatus |
getAuthStatus()
Returns the
AuthStatus of this SocksAuthResponse |
getSocksResponseType
getMessageType, getProtocolVersion
public SocksAuthResponse(SocksMessage.AuthStatus authStatus)
public SocksMessage.AuthStatus getAuthStatus()
AuthStatus
of this SocksAuthResponse
public void encodeAsByteBuf(ChannelBuffer channelBuffer)
SocksMessage
encodeAsByteBuf
in class SocksMessage
ChannelBuffer
Copyright © 2008-2016 The Netty Project. All Rights Reserved.