public final class DefaultPCEPSessionNegotiatorFactory extends AbstractPCEPSessionNegotiatorFactory
Constructor and Description |
---|
DefaultPCEPSessionNegotiatorFactory(PCEPSessionProposalFactory spf,
int maxUnknownMessages) |
DefaultPCEPSessionNegotiatorFactory(PCEPSessionProposalFactory spf,
PcepDispatcherConfig config) |
Modifier and Type | Method and Description |
---|---|
protected AbstractPCEPSessionNegotiator |
createNegotiator(PCEPSessionNegotiatorFactoryDependencies sessionNegotiatorDependencies,
io.netty.util.concurrent.Promise<PCEPSessionImpl> promise,
io.netty.channel.Channel channel,
short sessionId)
Create a new negotiator.
|
PCEPSessionProposalFactory |
getPCEPSessionProposalFactory()
Returns a PCEPSessionProposalFactory.
|
getSessionNegotiator, getSessionRegistry
public DefaultPCEPSessionNegotiatorFactory(PCEPSessionProposalFactory spf, int maxUnknownMessages)
public DefaultPCEPSessionNegotiatorFactory(PCEPSessionProposalFactory spf, PcepDispatcherConfig config)
protected AbstractPCEPSessionNegotiator createNegotiator(PCEPSessionNegotiatorFactoryDependencies sessionNegotiatorDependencies, io.netty.util.concurrent.Promise<PCEPSessionImpl> promise, io.netty.channel.Channel channel, short sessionId)
AbstractPCEPSessionNegotiatorFactory
createNegotiator
in class AbstractPCEPSessionNegotiatorFactory
sessionNegotiatorDependencies
- PCEP Session Negotiator dependenciespromise
- Session promise to be completed by the negotiatorchannel
- Associated channelsessionId
- Session ID assigned to the resulting sessionpublic PCEPSessionProposalFactory getPCEPSessionProposalFactory()
PCEPSessionNegotiatorFactory
Copyright © 2019 OpenDaylight. All rights reserved.