Class SocksServerHandler
- java.lang.Object
-
- io.netty5.channel.SimpleChannelInboundHandler<io.netty.contrib.handler.codec.socksx.SocksMessage>
-
- io.netty.contrib.handler.codec.example.socksproxy.SocksServerHandler
-
- All Implemented Interfaces:
io.netty5.channel.ChannelHandler
public final class SocksServerHandler extends io.netty5.channel.SimpleChannelInboundHandler<io.netty.contrib.handler.codec.socksx.SocksMessage>
-
-
Field Summary
Fields Modifier and Type Field Description static SocksServerHandlerINSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchannelExceptionCaught(io.netty5.channel.ChannelHandlerContext ctx, Throwable throwable)voidchannelReadComplete(io.netty5.channel.ChannelHandlerContext ctx)booleanisSharable()voidmessageReceived(io.netty5.channel.ChannelHandlerContext ctx, io.netty.contrib.handler.codec.socksx.SocksMessage socksRequest)-
Methods inherited from class io.netty5.channel.SimpleChannelInboundHandler
acceptInboundMessage, channelRead
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.netty5.channel.ChannelHandler
bind, channelActive, channelInactive, channelInboundEvent, channelRegistered, channelShutdown, channelUnregistered, channelWritabilityChanged, close, connect, deregister, disconnect, flush, handlerAdded, handlerRemoved, pendingOutboundBytes, read, register, sendOutboundEvent, shutdown, write
-
-
-
-
Field Detail
-
INSTANCE
public static final SocksServerHandler INSTANCE
-
-
Method Detail
-
messageReceived
public void messageReceived(io.netty5.channel.ChannelHandlerContext ctx, io.netty.contrib.handler.codec.socksx.SocksMessage socksRequest) throws Exception- Specified by:
messageReceivedin classio.netty5.channel.SimpleChannelInboundHandler<io.netty.contrib.handler.codec.socksx.SocksMessage>- Throws:
Exception
-
channelReadComplete
public void channelReadComplete(io.netty5.channel.ChannelHandlerContext ctx)
-
channelExceptionCaught
public void channelExceptionCaught(io.netty5.channel.ChannelHandlerContext ctx, Throwable throwable)
-
isSharable
public boolean isSharable()
-
-