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, java.util.List<java.lang.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 class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • 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,
                              java.util.List<java.lang.Object> out)
                       throws java.lang.Exception
        Specified by:
        decode in class io.netty.handler.codec.MessageToMessageDecoder<io.netty.buffer.ByteBuf>
        Throws:
        java.lang.Exception