public final class BGPClientSessionNegotiator
extends io.netty.channel.ChannelInboundHandlerAdapter
Modifier and Type | Class and Description |
---|---|
static class |
AbstractBGPSessionNegotiator.State |
Constructor and Description |
---|
BGPClientSessionNegotiator(io.netty.util.concurrent.Promise<BGPSessionImpl> promise,
io.netty.channel.Channel channel,
BGPPeerRegistry registry) |
Modifier and Type | Method and Description |
---|---|
void |
channelActive(io.netty.channel.ChannelHandlerContext ctx) |
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
protected org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address |
getDestinationId(Open openMsg,
BGPSessionPreferences preferences) |
protected org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address |
getSourceId(Open openMsg,
BGPSessionPreferences preferences) |
AbstractBGPSessionNegotiator.State |
getState() |
channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public BGPClientSessionNegotiator(io.netty.util.concurrent.Promise<BGPSessionImpl> promise, io.netty.channel.Channel channel, BGPPeerRegistry registry)
protected org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address getDestinationId(Open openMsg, BGPSessionPreferences preferences)
openMsg
- Open message received from remote BGP speakerpreferences
- Local BGP speaker preferencesprotected org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address getSourceId(Open openMsg, BGPSessionPreferences preferences)
openMsg
- Open message received from remote BGP speakerpreferences
- Local BGP speaker preferencespublic AbstractBGPSessionNegotiator.State getState()
public final void channelActive(io.netty.channel.ChannelHandlerContext ctx)
channelActive
in interface io.netty.channel.ChannelInboundHandler
channelActive
in class io.netty.channel.ChannelInboundHandlerAdapter
public final void channelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg)
channelRead
in interface io.netty.channel.ChannelInboundHandler
channelRead
in class io.netty.channel.ChannelInboundHandlerAdapter
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause)
exceptionCaught
in interface io.netty.channel.ChannelHandler
exceptionCaught
in interface io.netty.channel.ChannelInboundHandler
exceptionCaught
in class io.netty.channel.ChannelInboundHandlerAdapter
Copyright © 2019 OpenDaylight. All rights reserved.