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, Buffer ChannelHandlerContext which this ByteToMessageDecoder belongs tothe in)Buffer from which to read dataImplements abstract io. Buffer to another.
|
| 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, Buffer in) 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) | |