Socks5CommandResponse from the inbound Buffers.
On successful decode, this decoder will forward the received data to the next handler, so that
other handler can remove or replace 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 |
|---|---|
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final Socks5AddressDecoder | |
| private Socks5CommandResponseDecoder. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | decode(ChannelHandlerContext
the ctx, Buffer ChannelHandlerContext which this ByteToMessageDecoder belongs tothe in)Buffer from which to read dataImplements abstract io. Buffer to another.
|
| private void |
| addressDecoder | back to summary |
|---|---|
| private final Socks5AddressDecoder addressDecoder | |
| state | back to summary |
|---|---|
| private Socks5CommandResponseDecoder. | |
| Socks5CommandResponseDecoder | back to summary |
|---|---|
| public Socks5CommandResponseDecoder() | |
| Socks5CommandResponseDecoder | back to summary |
|---|---|
| public Socks5CommandResponseDecoder(Socks5AddressDecoder addressDecoder) | |
| decode | back to summary |
|---|---|
| protected void decode(ChannelHandlerContext ctx, Buffer in) throws Exception Implements abstract io. Doc from io. Decode the from one
| |
| fail | back to summary |
|---|---|
| private void fail(ChannelHandlerContext ctx, Exception cause) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final Socks5CommandResponseDecoder. | |
| public static final Socks5CommandResponseDecoder. | |
| public static final Socks5CommandResponseDecoder. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Socks5CommandResponseDecoder. | |
| public static Socks5CommandResponseDecoder. |
| FAILURE | back to summary |
|---|---|
| public static final Socks5CommandResponseDecoder. | |
| INIT | back to summary |
|---|---|
| public static final Socks5CommandResponseDecoder. | |
| SUCCESS | back to summary |
|---|---|
| public static final Socks5CommandResponseDecoder. | |
| State | back to summary |
|---|---|
| private State() | |
| valueOf | back to summary |
|---|---|
| public static Socks5CommandResponseDecoder. | |
| values | back to summary |
|---|---|
| public static Socks5CommandResponseDecoder. | |