SocksMessage into a ByteBuf.
MessageToByteEncoder implementation.
Use this with SocksInitRequest, SocksInitResponse, SocksAuthRequest,
SocksAuthResponse, SocksCmdRequest and SocksCmdResponse
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | encode(ChannelHandlerContext
the ctx, SocksMessage ChannelHandlerContext which this MessageToByteEncoder belongs tothe message to encode msg, ByteBuf the out)ByteBuf into which the encoded message will be writtenImplements abstract io. ByteBuf.
|
| SocksMessageEncoder | back to summary |
|---|---|
| public SocksMessageEncoder() | |
| encode | back to summary |
|---|---|
| protected void encode(ChannelHandlerContext ctx, SocksMessage msg, ByteBuf out) throws Exception Implements abstract io. Doc from io. Encode a message into a
| |