public class OutboundQueueManagerNoBarrier<T extends OutboundQueueHandler>
extends io.netty.channel.ChannelInboundHandlerAdapter
| Modifier and Type | Field and Description |
|---|---|
protected InetSocketAddress |
address |
protected O |
currentQueue |
protected Runnable |
flushRunnable |
protected ConnectionAdapterImpl |
parent |
protected boolean |
shuttingDown |
| Modifier and Type | Method and Description |
|---|---|
void |
channelActive(io.netty.channel.ChannelHandlerContext ctx) |
void |
channelInactive(io.netty.channel.ChannelHandlerContext ctx) |
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
void |
channelReadComplete(io.netty.channel.ChannelHandlerContext ctx) |
void |
channelWritabilityChanged(io.netty.channel.ChannelHandlerContext ctx) |
void |
close() |
protected void |
flush()
Perform a single flush operation.
|
void |
handlerAdded(io.netty.channel.ChannelHandlerContext ctx) |
protected StackedOutboundQueueNoBarrier |
initializeStackedOutboudnqueue()
Method has to initialize some child of
AbstractStackedOutboundQueue. |
protected Object |
makeMessageListenerWrapper(OfHeader msg)
Wraps outgoing message and includes listener attached to this message
which is send to OFEncoder for serialization.
|
String |
toString() |
channelRegistered, channelUnregistered, exceptionCaught, userEventTriggeredensureNotSharable, handlerRemoved, isSharableprotected final ConnectionAdapterImpl parent
protected final InetSocketAddress address
protected final O extends org.opendaylight.openflowjava.protocol.impl.core.connection.AbstractStackedOutboundQueue currentQueue
protected boolean shuttingDown
protected final Runnable flushRunnable
protected StackedOutboundQueueNoBarrier initializeStackedOutboudnqueue()
AbstractStackedOutboundQueue.public void close()
close in interface AutoCloseablepublic void handlerAdded(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
handlerAdded in interface io.netty.channel.ChannelHandlerhandlerAdded in class io.netty.channel.ChannelHandlerAdapterExceptionpublic void channelActive(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelActive in interface io.netty.channel.ChannelInboundHandlerchannelActive in class io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic void channelReadComplete(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelReadComplete in interface io.netty.channel.ChannelInboundHandlerchannelReadComplete in class io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic void channelWritabilityChanged(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelWritabilityChanged in interface io.netty.channel.ChannelInboundHandlerchannelWritabilityChanged in class io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic void channelInactive(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelInactive in interface io.netty.channel.ChannelInboundHandlerchannelInactive in class io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic void channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg)
throws Exception
channelRead in interface io.netty.channel.ChannelInboundHandlerchannelRead in class io.netty.channel.ChannelInboundHandlerAdapterExceptionprotected Object makeMessageListenerWrapper(@Nonnull OfHeader msg)
protected void flush()
flushRunnable.Copyright © 2020 OpenDaylight. All rights reserved.