public class DelegatingInboundHandler
extends io.netty.channel.ChannelInboundHandlerAdapter
ConnectionAdapterImpl and passes messages for further processing.
Also informs on switch disconnection.| Constructor and Description |
|---|
DelegatingInboundHandler(MessageConsumer connectionAdapter)
Constructs class + creates and sets MessageConsumer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
channelInactive(io.netty.channel.ChannelHandlerContext ctx) |
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
void |
channelUnregistered(io.netty.channel.ChannelHandlerContext ctx) |
channelActive, channelReadComplete, channelRegistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic DelegatingInboundHandler(MessageConsumer connectionAdapter)
connectionAdapter - reference for adapter communicating with upper layers outside librarypublic void channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg)
channelRead in interface io.netty.channel.ChannelInboundHandlerchannelRead in class io.netty.channel.ChannelInboundHandlerAdapterpublic void channelInactive(io.netty.channel.ChannelHandlerContext ctx)
channelInactive in interface io.netty.channel.ChannelInboundHandlerchannelInactive in class io.netty.channel.ChannelInboundHandlerAdapterpublic void channelUnregistered(io.netty.channel.ChannelHandlerContext ctx)
channelUnregistered in interface io.netty.channel.ChannelInboundHandlerchannelUnregistered in class io.netty.channel.ChannelInboundHandlerAdapterCopyright © 2019 OpenDaylight. All rights reserved.