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
构造器和说明 |
---|
SocksInitRequest(java.util.List<SocksMessage.AuthScheme> authSchemes) |
限定符和类型 | 方法和说明 |
---|---|
void |
encodeAsByteBuf(ChannelBuffer channelBuffer)
Encode socks message into its byte representation and write it into byteBuf
|
java.util.List<SocksMessage.AuthScheme> |
getAuthSchemes()
Returns the List<
AuthScheme > of this SocksInitRequest |
getSocksRequestType
getMessageType, getProtocolVersion
public SocksInitRequest(java.util.List<SocksMessage.AuthScheme> authSchemes)
public java.util.List<SocksMessage.AuthScheme> getAuthSchemes()
AuthScheme
> of this SocksInitRequest
public void encodeAsByteBuf(ChannelBuffer channelBuffer)
SocksMessage
encodeAsByteBuf
在类中 SocksMessage
ChannelBuffer