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