Package org.opennms.features.eifadapter
Class EifMessageDecoder
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- io.netty.handler.codec.MessageToMessageDecoder<io.netty.buffer.ByteBuf>
-
- org.opennms.features.eifadapter.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
-
-
Constructor Summary
Constructors Constructor Description EifMessageDecoder()
-
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
-
-
-
-
Method Detail
-
newChannelHandler
public io.netty.channel.ChannelHandler newChannelHandler()
- Specified by:
newChannelHandler
in interfaceorg.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 classio.netty.handler.codec.MessageToMessageDecoder<io.netty.buffer.ByteBuf>
- Throws:
java.lang.Exception
-
-