@ChannelHandler.Sharable public class UscDemultiplexer extends io.netty.channel.SimpleChannelInboundHandler<UscFrame>
| Modifier and Type | Field and Description |
|---|---|
ConcurrentMap<SocketAddress,com.google.common.util.concurrent.SettableFuture<Throwable>> |
promiseMap |
| Constructor and Description |
|---|
UscDemultiplexer(UscPlugin plugin)
Constructs a new UscDemultiplexer
|
| Modifier and Type | Method and Description |
|---|---|
void |
channelInactive(io.netty.channel.ChannelHandlerContext ctx) |
protected void |
channelRead0(io.netty.channel.ChannelHandlerContext ctx,
UscFrame frame) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
acceptInboundMessage, channelReadchannelActive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic final ConcurrentMap<SocketAddress,com.google.common.util.concurrent.SettableFuture<Throwable>> promiseMap
public UscDemultiplexer(UscPlugin plugin)
plugin - The instance of UscPlugin on whose behalf this demultiplexer
is managing session state.protected void channelRead0(io.netty.channel.ChannelHandlerContext ctx,
UscFrame frame)
throws Exception
public void channelInactive(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelInactive in interface io.netty.channel.ChannelInboundHandlerchannelInactive in class io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
throws Exception
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterExceptionCopyright © 2019 OpenDaylight. All rights reserved.