public final class BmpMockSession extends io.netty.channel.SimpleChannelInboundHandler<org.opendaylight.yangtools.yang.binding.Notification> implements BmpSession
| Constructor and Description |
|---|
BmpMockSession(int peersCount,
int prePolicyRoutesCount,
int postPolicyRoutesCount) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelActive(io.netty.channel.ChannelHandlerContext ctx) |
protected void |
channelRead0(io.netty.channel.ChannelHandlerContext ctx,
org.opendaylight.yangtools.yang.binding.Notification msg) |
void |
close() |
InetAddress |
getRemoteAddress() |
acceptInboundMessage, channelReadchannelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic BmpMockSession(int peersCount,
int prePolicyRoutesCount,
int postPolicyRoutesCount)
public void close()
throws InterruptedException
close in interface AutoCloseableInterruptedExceptionpublic InetAddress getRemoteAddress()
getRemoteAddress in interface BmpSessionprotected void channelRead0(io.netty.channel.ChannelHandlerContext ctx,
org.opendaylight.yangtools.yang.binding.Notification msg)
throws Exception
channelRead0 in class io.netty.channel.SimpleChannelInboundHandler<org.opendaylight.yangtools.yang.binding.Notification>Exceptionpublic void channelActive(io.netty.channel.ChannelHandlerContext ctx)
channelActive in interface io.netty.channel.ChannelInboundHandlerchannelActive in class io.netty.channel.ChannelInboundHandlerAdapterCopyright © 2019 OpenDaylight. All rights reserved.