@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, channelRead
channelActive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
public 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.ChannelInboundHandler
channelInactive
in class io.netty.channel.ChannelInboundHandlerAdapter
Exception
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause) throws Exception
exceptionCaught
in interface io.netty.channel.ChannelHandler
exceptionCaught
in interface io.netty.channel.ChannelInboundHandler
exceptionCaught
in class io.netty.channel.ChannelInboundHandlerAdapter
Exception
Copyright © 2019 OpenDaylight. All rights reserved.