@ChannelHandler.Sharable
public final class SocksServerHandler
extends io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.socksx.SocksMessage>
| Modifier and Type | Field and Description |
|---|---|
static SocksServerHandler |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
channelReadComplete(io.netty.channel.ChannelHandlerContext ctx) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable throwable) |
void |
messageReceived(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.socksx.SocksMessage socksRequest) |
acceptInboundMessage, channelReadpublic static final SocksServerHandler INSTANCE
public void messageReceived(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.socksx.SocksMessage socksRequest)
throws Exception
messageReceived in class io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.socksx.SocksMessage>Exceptionpublic void channelReadComplete(io.netty.channel.ChannelHandlerContext ctx)
channelReadComplete in interface io.netty.channel.ChannelHandlerchannelReadComplete in class io.netty.channel.ChannelHandlerAdapterpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable throwable)
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in class io.netty.channel.ChannelHandlerAdapterCopyright © 2008–2015 The Netty Project. All rights reserved.