Class SocksServerConnectHandler
- java.lang.Object
-
- io.netty5.channel.SimpleChannelInboundHandler<io.netty.contrib.handler.codec.socksx.SocksMessage>
-
- io.netty.contrib.handler.codec.example.socksproxy.SocksServerConnectHandler
-
- All Implemented Interfaces:
io.netty5.channel.ChannelHandler
public final class SocksServerConnectHandler extends io.netty5.channel.SimpleChannelInboundHandler<io.netty.contrib.handler.codec.socksx.SocksMessage>
-
-
Constructor Summary
Constructors Constructor Description SocksServerConnectHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchannelExceptionCaught(io.netty5.channel.ChannelHandlerContext ctx, Throwable cause)booleanisSharable()voidmessageReceived(io.netty5.channel.ChannelHandlerContext ctx, io.netty.contrib.handler.codec.socksx.SocksMessage message)-
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, channelReadComplete, channelRegistered, channelShutdown, channelUnregistered, channelWritabilityChanged, close, connect, deregister, disconnect, flush, handlerAdded, handlerRemoved, pendingOutboundBytes, read, register, sendOutboundEvent, shutdown, write
-
-
-
-
Method Detail
-
messageReceived
public void messageReceived(io.netty5.channel.ChannelHandlerContext ctx, io.netty.contrib.handler.codec.socksx.SocksMessage message) throws Exception- Specified by:
messageReceivedin classio.netty5.channel.SimpleChannelInboundHandler<io.netty.contrib.handler.codec.socksx.SocksMessage>- Throws:
Exception
-
channelExceptionCaught
public void channelExceptionCaught(io.netty5.channel.ChannelHandlerContext ctx, Throwable cause) throws Exception- Throws:
Exception
-
isSharable
public boolean isSharable()
-
-