Socks4ServerDecoder or Socks5InitialRequestDecoder.
| Modifier and Type | Field and Description |
|---|---|
| private static final InternalLogger | |
| private final Socks5ServerEncoder |
| Access | Constructor and Description |
|---|---|
| public | |
| public | SocksPortUnificationServerHandler(Socks5ServerEncoder socks5encoder)
Creates a new instance with the specified |
| 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 static void | |
| private static void |
| logger | back to summary |
|---|---|
| private static final InternalLogger logger | |
| socks5encoder | back to summary |
|---|---|
| private final Socks5ServerEncoder socks5encoder | |
| SocksPortUnificationServerHandler | back to summary |
|---|---|
| public SocksPortUnificationServerHandler() Creates a new instance with the default configuration. | |
| SocksPortUnificationServerHandler | back to summary |
|---|---|
| public SocksPortUnificationServerHandler(Socks5ServerEncoder socks5encoder) Creates a new instance with the specified | |
| 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
| |
| logKnownVersion | back to summary |
|---|---|
| private static void logKnownVersion(ChannelHandlerContext ctx, SocksVersion version) | |
| logUnknownVersion | back to summary |
|---|---|
| private static void logUnknownVersion(ChannelHandlerContext ctx, byte versionVal) | |