Socks4CommandRequest into a ByteBuf.
| Modifier and Type | Field and Description |
|---|---|
| public static final Socks4ClientEncoder | INSTANCE
The singleton instance of |
| private static final byte[] |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| protected void | encode(ChannelHandlerContext
the ctx, Socks4CommandRequest 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.
|
| INSTANCE | back to summary |
|---|---|
| public static final Socks4ClientEncoder INSTANCE The singleton instance of | |
| IPv4_DOMAIN_MARKER | back to summary |
|---|---|
| private static final byte[] IPv4_DOMAIN_MARKER | |
| Socks4ClientEncoder | back to summary |
|---|---|
| private Socks4ClientEncoder() | |
| encode | back to summary |
|---|---|
| protected void encode(ChannelHandlerContext ctx, Socks4CommandRequest msg, ByteBuf out) throws Exception Implements abstract io. Doc from io. Encode a message into a
| |