Class OutboundQueueManagerNoBarrier<T extends OutboundQueueHandler>
- java.lang.Object
- 
- io.netty.channel.ChannelHandlerAdapter
- 
- io.netty.channel.ChannelInboundHandlerAdapter
- 
- org.opendaylight.openflowjava.protocol.impl.core.connection.OutboundQueueManagerNoBarrier<T>
 
 
 
- 
- All Implemented Interfaces:
- io.netty.channel.ChannelHandler,- io.netty.channel.ChannelInboundHandler,- AutoCloseable
 
 public class OutboundQueueManagerNoBarrier<T extends OutboundQueueHandler> extends io.netty.channel.ChannelInboundHandlerAdapter
- 
- 
Field SummaryFields Modifier and Type Field Description protected InetSocketAddressaddressprotected OcurrentQueueprotected RunnableflushRunnableprotected ConnectionAdapterImplparentprotected booleanshuttingDown
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchannelActive(io.netty.channel.ChannelHandlerContext ctx)voidchannelInactive(io.netty.channel.ChannelHandlerContext ctx)voidchannelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg)voidchannelReadComplete(io.netty.channel.ChannelHandlerContext ctx)voidchannelWritabilityChanged(io.netty.channel.ChannelHandlerContext ctx)voidclose()protected voidflush()Perform a single flush operation.voidhandlerAdded(io.netty.channel.ChannelHandlerContext ctx)protected StackedOutboundQueueNoBarrierinitializeStackedOutboudnqueue()Method has to initialize some child ofAbstractStackedOutboundQueue.protected ObjectmakeMessageListenerWrapper(@NonNull OfHeader msg)Wraps outgoing message and includes listener attached to this message which is send to OFEncoder for serialization.StringtoString()- 
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapterchannelRegistered, channelUnregistered, exceptionCaught, userEventTriggered
 - 
Methods inherited from class io.netty.channel.ChannelHandlerAdapterensureNotSharable, handlerRemoved, isSharable
 
- 
 
- 
- 
- 
Field Detail- 
parentprotected final ConnectionAdapterImpl parent 
 - 
addressprotected final InetSocketAddress address 
 - 
currentQueueprotected final O extends org.opendaylight.openflowjava.protocol.impl.core.connection.AbstractStackedOutboundQueue currentQueue 
 - 
shuttingDownprotected boolean shuttingDown 
 - 
flushRunnableprotected final Runnable flushRunnable 
 
- 
 - 
Method Detail- 
initializeStackedOutboudnqueueprotected StackedOutboundQueueNoBarrier initializeStackedOutboudnqueue() Method has to initialize some child ofAbstractStackedOutboundQueue.- Returns:
- correct implementation of StacketOutboundqueue
 
 - 
closepublic void close() - Specified by:
- closein interface- AutoCloseable
 
 - 
handlerAddedpublic void handlerAdded(io.netty.channel.ChannelHandlerContext ctx) throws Exception- Specified by:
- handlerAddedin interface- io.netty.channel.ChannelHandler
- Overrides:
- handlerAddedin class- io.netty.channel.ChannelHandlerAdapter
- Throws:
- Exception
 
 - 
channelActivepublic void channelActive(io.netty.channel.ChannelHandlerContext ctx) throws Exception- Specified by:
- channelActivein interface- io.netty.channel.ChannelInboundHandler
- Overrides:
- channelActivein class- io.netty.channel.ChannelInboundHandlerAdapter
- Throws:
- Exception
 
 - 
channelReadCompletepublic void channelReadComplete(io.netty.channel.ChannelHandlerContext ctx) throws Exception- Specified by:
- channelReadCompletein interface- io.netty.channel.ChannelInboundHandler
- Overrides:
- channelReadCompletein class- io.netty.channel.ChannelInboundHandlerAdapter
- Throws:
- Exception
 
 - 
channelWritabilityChangedpublic void channelWritabilityChanged(io.netty.channel.ChannelHandlerContext ctx) throws Exception- Specified by:
- channelWritabilityChangedin interface- io.netty.channel.ChannelInboundHandler
- Overrides:
- channelWritabilityChangedin class- io.netty.channel.ChannelInboundHandlerAdapter
- Throws:
- Exception
 
 - 
channelInactivepublic void channelInactive(io.netty.channel.ChannelHandlerContext ctx) throws Exception- Specified by:
- channelInactivein interface- io.netty.channel.ChannelInboundHandler
- Overrides:
- channelInactivein class- io.netty.channel.ChannelInboundHandlerAdapter
- Throws:
- Exception
 
 - 
channelReadpublic void channelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg) throws Exception- Specified by:
- channelReadin interface- io.netty.channel.ChannelInboundHandler
- Overrides:
- channelReadin class- io.netty.channel.ChannelInboundHandlerAdapter
- Throws:
- Exception
 
 - 
makeMessageListenerWrapperprotected Object makeMessageListenerWrapper(@NonNull OfHeader msg) Wraps outgoing message and includes listener attached to this message which is send to OFEncoder for serialization. Correct wrapper is selected by communication pipeline.
 - 
flushprotected void flush() Perform a single flush operation. We keep it here so we do not generate syntetic accessors for private fields. Otherwise it could be moved intoflushRunnable.
 
- 
 
-