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
构造器和说明 |
---|
SocksInitResponse(SocksMessage.AuthScheme authScheme) |
限定符和类型 | 方法和说明 |
---|---|
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
在类中 SocksMessage
ChannelBuffer