public abstract class AbstractPCEPSessionNegotiatorFactory extends Object implements PCEPSessionNegotiatorFactory<PCEPSessionImpl>
Constructor and Description |
---|
AbstractPCEPSessionNegotiatorFactory() |
Modifier and Type | Method and Description |
---|---|
protected abstract AbstractPCEPSessionNegotiator |
createNegotiator(PCEPSessionNegotiatorFactoryDependencies snd,
io.netty.util.concurrent.Promise<PCEPSessionImpl> promise,
io.netty.channel.Channel channel,
short sessionId)
Create a new negotiator.
|
SessionNegotiator |
getSessionNegotiator(PCEPSessionNegotiatorFactoryDependencies dependencies,
io.netty.channel.Channel channel,
io.netty.util.concurrent.Promise<PCEPSessionImpl> promise)
Creates PCEPSessionNegotiator instance for income attributes.
|
org.opendaylight.protocol.pcep.impl.PCEPPeerRegistry |
getSessionRegistry() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPCEPSessionProposalFactory
public AbstractPCEPSessionNegotiatorFactory()
protected abstract AbstractPCEPSessionNegotiator createNegotiator(PCEPSessionNegotiatorFactoryDependencies snd, io.netty.util.concurrent.Promise<PCEPSessionImpl> promise, io.netty.channel.Channel channel, short sessionId)
snd
- PCEP Session Negotiator dependenciespromise
- Session promise to be completed by the negotiatorchannel
- Associated channelsessionId
- Session ID assigned to the resulting sessionpublic final SessionNegotiator getSessionNegotiator(PCEPSessionNegotiatorFactoryDependencies dependencies, io.netty.channel.Channel channel, io.netty.util.concurrent.Promise<PCEPSessionImpl> promise)
PCEPSessionNegotiatorFactory
getSessionNegotiator
in interface PCEPSessionNegotiatorFactory<PCEPSessionImpl>
dependencies
- contains PCEPSessionNegotiator dependencieschannel
- session channelpromise
- session promisepublic org.opendaylight.protocol.pcep.impl.PCEPPeerRegistry getSessionRegistry()
Copyright © 2019 OpenDaylight. All rights reserved.