public final class SocksInitRequest extends SocksRequest
SocksInitResponse}
,
SocksInitRequestDecoder}
SocksRequest.SocksRequestType
SocksMessage.AddressType, SocksMessage.AuthScheme, SocksMessage.AuthStatus, SocksMessage.CmdStatus, SocksMessage.CmdType, SocksMessage.MessageType, SocksMessage.ProtocolVersion, SocksMessage.SubnegotiationVersion
Constructor and Description |
---|
SocksInitRequest(List<SocksMessage.AuthScheme> authSchemes) |
Modifier and Type | Method and Description |
---|---|
void |
encodeAsByteBuf(ChannelBuffer channelBuffer)
Encode socks message into its byte representation and write it into byteBuf
|
List<SocksMessage.AuthScheme> |
getAuthSchemes()
Returns the List<
AuthScheme > of this SocksInitRequest |
getSocksRequestType
getMessageType, getProtocolVersion
public SocksInitRequest(List<SocksMessage.AuthScheme> authSchemes)
public List<SocksMessage.AuthScheme> getAuthSchemes()
AuthScheme
> of this SocksInitRequest
public void encodeAsByteBuf(ChannelBuffer channelBuffer)
SocksMessage
encodeAsByteBuf
in class SocksMessage
ChannelBuffer
Copyright © 2008-2014 The Netty Project. All Rights Reserved.