Socks4CommandResponse from the inbound ByteBufs.
On successful decode, this decoder will forward the received data to the next handler, so that
other handler can remove this decoder later. On failed decode, this decoder will discard the
received data, so that other handler closes the connection later.
| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | decode(ChannelHandlerContext
the ctx, ByteBuf ChannelHandlerContext which this ByteToMessageDecoder belongs tothe in, List<Object> ByteBuf from which to read datathe out)List to which decoded messages should be addedImplements abstract io. ByteBuf to an other.
|
| private void |
| Socks4ClientDecoder | back to summary |
|---|---|
| public Socks4ClientDecoder() | |
| decode | back to summary |
|---|---|
| protected void decode(ChannelHandlerContext ctx, ByteBuf in, List<Object> out) throws Exception Implements abstract io. Doc from io. Decode the from one
| |
| fail | back to summary |
|---|---|
| private void fail(List<Object> out, Exception cause) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final Socks4ClientDecoder. | |
| public static final Socks4ClientDecoder. | |
| public static final Socks4ClientDecoder. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Socks4ClientDecoder. | |
| public static Socks4ClientDecoder. |
| FAILURE | back to summary |
|---|---|
| public static final Socks4ClientDecoder. | |
| START | back to summary |
|---|---|
| public static final Socks4ClientDecoder. | |
| SUCCESS | back to summary |
|---|---|
| public static final Socks4ClientDecoder. | |
| State | back to summary |
|---|---|
| private State() | |
| valueOf | back to summary |
|---|---|
| public static Socks4ClientDecoder. | |
| values | back to summary |
|---|---|
| public static Socks4ClientDecoder. | |