Class EifMessageDecoder

  • All Implemented Interfaces:
    io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler, org.apache.camel.component.netty4.ChannelHandlerFactory

    public class EifMessageDecoder
    extends io.netty.handler.codec.MessageToMessageDecoder<io.netty.buffer.ByteBuf>
    implements org.apache.camel.component.netty4.ChannelHandlerFactory
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler

        io.netty.channel.ChannelHandler.Sharable
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void decode​(io.netty.channel.ChannelHandlerContext ctx, io.netty.buffer.ByteBuf msg, List<Object> out)  
      NodeDao getNodeDao()  
      io.netty.channel.ChannelHandler newChannelHandler()  
      void setNodeDao​(NodeDao nodeDao)  
      • Methods inherited from class io.netty.handler.codec.MessageToMessageDecoder

        acceptInboundMessage, channelRead
      • Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter

        channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
      • Methods inherited from class io.netty.channel.ChannelHandlerAdapter

        ensureNotSharable, handlerAdded, handlerRemoved, isSharable
      • Methods inherited from interface io.netty.channel.ChannelHandler

        handlerAdded, handlerRemoved
    • Constructor Detail

      • EifMessageDecoder

        public EifMessageDecoder()
    • Method Detail

      • newChannelHandler

        public io.netty.channel.ChannelHandler newChannelHandler()
        Specified by:
        newChannelHandler in interface org.apache.camel.component.netty4.ChannelHandlerFactory
      • getNodeDao

        public NodeDao getNodeDao()
      • setNodeDao

        public void setNodeDao​(NodeDao nodeDao)
      • decode

        protected void decode​(io.netty.channel.ChannelHandlerContext ctx,
                              io.netty.buffer.ByteBuf msg,
                              List<Object> out)
                       throws Exception
        Specified by:
        decode in class io.netty.handler.codec.MessageToMessageDecoder<io.netty.buffer.ByteBuf>
        Throws:
        Exception