public abstract class AbstractPCEPSessionNegotiatorFactory extends Object implements PCEPSessionNegotiatorFactory<PCEPSessionImpl>
Constructor and Description |
---|
AbstractPCEPSessionNegotiatorFactory() |
Modifier and Type | Method and Description |
---|---|
protected abstract AbstractPCEPSessionNegotiator |
createNegotiator(io.netty.util.concurrent.Promise<PCEPSessionImpl> promise,
PCEPSessionListener listener,
io.netty.channel.Channel channel,
short sessionId,
PCEPPeerProposal peerProposal)
Create a new negotiator.
|
SessionNegotiator |
getSessionNegotiator(PCEPSessionListenerFactory factory,
io.netty.channel.Channel channel,
io.netty.util.concurrent.Promise<PCEPSessionImpl> promise,
PCEPPeerProposal peerProposal)
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(io.netty.util.concurrent.Promise<PCEPSessionImpl> promise, PCEPSessionListener listener, io.netty.channel.Channel channel, short sessionId, PCEPPeerProposal peerProposal)
promise
- Session promise to be completed by the negotiatorlistener
- PCEPSessionListenerchannel
- Associated channelsessionId
- Session ID assigned to the resulting sessionpublic final SessionNegotiator getSessionNegotiator(PCEPSessionListenerFactory factory, io.netty.channel.Channel channel, io.netty.util.concurrent.Promise<PCEPSessionImpl> promise, PCEPPeerProposal peerProposal)
PCEPSessionNegotiatorFactory
getSessionNegotiator
in interface PCEPSessionNegotiatorFactory<PCEPSessionImpl>
peerProposal
- for including information from peer to our Open messagepublic org.opendaylight.protocol.pcep.impl.PCEPPeerRegistry getSessionRegistry()
Copyright © 2018 OpenDaylight. All rights reserved.