Class StormServerHandler

  • All Implemented Interfaces:
    org.apache.storm.shade.io.netty.channel.ChannelHandler, org.apache.storm.shade.io.netty.channel.ChannelInboundHandler

    public class StormServerHandler
    extends org.apache.storm.shade.io.netty.channel.ChannelInboundHandlerAdapter
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.apache.storm.shade.io.netty.channel.ChannelHandler

        org.apache.storm.shade.io.netty.channel.ChannelHandler.Sharable
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void channelActive​(org.apache.storm.shade.io.netty.channel.ChannelHandlerContext ctx)  
      void channelRead​(org.apache.storm.shade.io.netty.channel.ChannelHandlerContext ctx, Object msg)  
      void exceptionCaught​(org.apache.storm.shade.io.netty.channel.ChannelHandlerContext ctx, Throwable cause)  
      • Methods inherited from class org.apache.storm.shade.io.netty.channel.ChannelInboundHandlerAdapter

        channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
      • Methods inherited from class org.apache.storm.shade.io.netty.channel.ChannelHandlerAdapter

        ensureNotSharable, handlerAdded, handlerRemoved, isSharable
      • Methods inherited from interface org.apache.storm.shade.io.netty.channel.ChannelHandler

        handlerAdded, handlerRemoved
    • Constructor Detail

      • StormServerHandler

        public StormServerHandler​(IServer server)
    • Method Detail

      • channelActive

        public void channelActive​(org.apache.storm.shade.io.netty.channel.ChannelHandlerContext ctx)
        Specified by:
        channelActive in interface org.apache.storm.shade.io.netty.channel.ChannelInboundHandler
        Overrides:
        channelActive in class org.apache.storm.shade.io.netty.channel.ChannelInboundHandlerAdapter
      • channelRead

        public void channelRead​(org.apache.storm.shade.io.netty.channel.ChannelHandlerContext ctx,
                                Object msg)
                         throws Exception
        Specified by:
        channelRead in interface org.apache.storm.shade.io.netty.channel.ChannelInboundHandler
        Overrides:
        channelRead in class org.apache.storm.shade.io.netty.channel.ChannelInboundHandlerAdapter
        Throws:
        Exception
      • exceptionCaught

        public void exceptionCaught​(org.apache.storm.shade.io.netty.channel.ChannelHandlerContext ctx,
                                    Throwable cause)
        Specified by:
        exceptionCaught in interface org.apache.storm.shade.io.netty.channel.ChannelHandler
        Specified by:
        exceptionCaught in interface org.apache.storm.shade.io.netty.channel.ChannelInboundHandler
        Overrides:
        exceptionCaught in class org.apache.storm.shade.io.netty.channel.ChannelInboundHandlerAdapter