Class ChannelOutputLimiter
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
org.opendaylight.protocol.bgp.rib.impl.ChannelOutputLimiter
- All Implemented Interfaces:
- io.netty.channel.ChannelHandler,- io.netty.channel.ChannelInboundHandler
public final class ChannelOutputLimiter
extends io.netty.channel.ChannelInboundHandlerAdapter
A best-effort output limiter. It does not provide any fairness, and acts as a blocking gate-keeper for a session's
 channel.
 
This class is thread-safe.
- 
Nested Class SummaryNested classes/interfaces inherited from interface io.netty.channel.ChannelHandlerio.netty.channel.ChannelHandler.Sharable
- 
Method SummaryModifier and TypeMethodDescriptionvoidchannelInactive(io.netty.channel.ChannelHandlerContext ctx) voidchannelWritabilityChanged(io.netty.channel.ChannelHandlerContext ctx) voidflush()voidwrite(org.opendaylight.yangtools.binding.Notification<?> msg) Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapterchannelActive, channelRead, channelReadComplete, channelRegistered, channelUnregistered, exceptionCaught, userEventTriggeredMethods inherited from class io.netty.channel.ChannelHandlerAdapterensureNotSharable, handlerAdded, handlerRemoved, isSharableMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.netty.channel.ChannelHandlerhandlerAdded, handlerRemoved
- 
Method Details- 
writepublic void write(org.opendaylight.yangtools.binding.Notification<?> msg) 
- 
flushpublic void flush()
- 
channelWritabilityChanged- Specified by:
- channelWritabilityChangedin interface- io.netty.channel.ChannelInboundHandler
- Overrides:
- channelWritabilityChangedin class- io.netty.channel.ChannelInboundHandlerAdapter
- Throws:
- Exception
 
- 
channelInactive- Specified by:
- channelInactivein interface- io.netty.channel.ChannelInboundHandler
- Overrides:
- channelInactivein class- io.netty.channel.ChannelInboundHandlerAdapter
- Throws:
- Exception
 
 
-