Class DelegatingInboundHandler
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
org.opendaylight.openflowjava.protocol.impl.core.DelegatingInboundHandler
- All Implemented Interfaces:
- io.netty.channel.ChannelHandler,- io.netty.channel.ChannelInboundHandler
public class DelegatingInboundHandler
extends io.netty.channel.ChannelInboundHandlerAdapter
Holds reference to 
ConnectionAdapterImpl and passes messages for further processing.
 Also informs on switch disconnection.- Author:
- michal.polkorab
- 
Nested Class SummaryNested classes/interfaces inherited from interface io.netty.channel.ChannelHandlerio.netty.channel.ChannelHandler.Sharable
- 
Constructor SummaryConstructorsConstructorDescriptionDelegatingInboundHandler(MessageConsumer connectionAdapter) Constructs class + creates and sets MessageConsumer.
- 
Method SummaryModifier and TypeMethodDescriptionvoidchannelInactive(io.netty.channel.ChannelHandlerContext ctx) voidchannelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg) voidchannelUnregistered(io.netty.channel.ChannelHandlerContext ctx) Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapterchannelActive, channelReadComplete, channelRegistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredMethods inherited from class io.netty.channel.ChannelHandlerAdapterensureNotSharable, handlerAdded, handlerRemoved, isSharableMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.netty.channel.ChannelHandlerhandlerAdded, handlerRemoved
- 
Constructor Details- 
DelegatingInboundHandlerConstructs class + creates and sets MessageConsumer.- Parameters:
- connectionAdapter- reference for adapter communicating with upper layers outside library
 
 
- 
- 
Method Details- 
channelRead- Specified by:
- channelReadin interface- io.netty.channel.ChannelInboundHandler
- Overrides:
- channelReadin class- io.netty.channel.ChannelInboundHandlerAdapter
 
- 
channelInactivepublic void channelInactive(io.netty.channel.ChannelHandlerContext ctx) - Specified by:
- channelInactivein interface- io.netty.channel.ChannelInboundHandler
- Overrides:
- channelInactivein class- io.netty.channel.ChannelInboundHandlerAdapter
 
- 
channelUnregisteredpublic void channelUnregistered(io.netty.channel.ChannelHandlerContext ctx) - Specified by:
- channelUnregisteredin interface- io.netty.channel.ChannelInboundHandler
- Overrides:
- channelUnregisteredin class- io.netty.channel.ChannelInboundHandlerAdapter
 
 
-