ByteBufs into SocksCmdRequest.
Before returning SocksRequest decoder removes itself from pipeline.
| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| private SocksAddressType | |
| private SocksCmdType |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | decode(ChannelHandlerContext
the ctx, ByteBuf ChannelHandlerContext which this ByteToMessageDecoder belongs tothe byteBuf, List<Object> ByteBuf from which to read datathe out)List to which decoded messages should be addedImplements abstract io. ByteBuf to an other.
|
| addressType | back to summary |
|---|---|
| private SocksAddressType addressType | |
| cmdType | back to summary |
|---|---|
| private SocksCmdType cmdType | |
| SocksCmdRequestDecoder | back to summary |
|---|---|
| public SocksCmdRequestDecoder() | |
| decode | back to summary |
|---|---|
| protected void decode(ChannelHandlerContext ctx, ByteBuf byteBuf, List<Object> out) throws Exception Implements abstract io. Doc from io. Decode the from one
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final SocksCmdRequestDecoder. | |
| public static final SocksCmdRequestDecoder. | |
| public static final SocksCmdRequestDecoder. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static SocksCmdRequestDecoder. | |
| public static SocksCmdRequestDecoder. |
| CHECK_PROTOCOL_VERSION | back to summary |
|---|---|
| public static final SocksCmdRequestDecoder. | |
| READ_CMD_ADDRESS | back to summary |
|---|---|
| public static final SocksCmdRequestDecoder. | |
| READ_CMD_HEADER | back to summary |
|---|---|
| public static final SocksCmdRequestDecoder. | |
| State | back to summary |
|---|---|
| private State() | |
| valueOf | back to summary |
|---|---|
| public static SocksCmdRequestDecoder. | |
| values | back to summary |
|---|---|
| public static SocksCmdRequestDecoder. | |