Class SocksServerHandler

  • All Implemented Interfaces:
    io.netty5.channel.ChannelHandler

    public final class SocksServerHandler
    extends io.netty5.channel.SimpleChannelInboundHandler<io.netty.contrib.handler.codec.socksx.SocksMessage>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void channelExceptionCaught​(io.netty5.channel.ChannelHandlerContext ctx, Throwable throwable)  
      void channelReadComplete​(io.netty5.channel.ChannelHandlerContext ctx)  
      boolean isSharable()  
      void messageReceived​(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 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
    • Method Detail

      • messageReceived

        public void messageReceived​(io.netty5.channel.ChannelHandlerContext ctx,
                                    io.netty.contrib.handler.codec.socksx.SocksMessage socksRequest)
                             throws Exception
        Specified by:
        messageReceived in class io.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()