public final class DefaultPCEPSessionNegotiatorFactory extends AbstractPCEPSessionNegotiatorFactory
Constructor and Description |
---|
DefaultPCEPSessionNegotiatorFactory(PCEPSessionProposalFactory spf,
int maxUnknownMessages) |
DefaultPCEPSessionNegotiatorFactory(PCEPSessionProposalFactory spf,
int maxUnknownMessages,
Tls tlsConfiguration) |
DefaultPCEPSessionNegotiatorFactory(PCEPSessionProposalFactory spf,
PcepDispatcherConfig config) |
Modifier and Type | Method and Description |
---|---|
protected AbstractPCEPSessionNegotiator |
createNegotiator(io.netty.util.concurrent.Promise<PCEPSessionImpl> promise,
PCEPSessionListener listener,
io.netty.channel.Channel channel,
short sessionId,
PCEPPeerProposal peerProposal)
Create a new negotiator.
|
PCEPSessionProposalFactory |
getPCEPSessionProposalFactory() |
getSessionNegotiator, getSessionRegistry
public DefaultPCEPSessionNegotiatorFactory(PCEPSessionProposalFactory spf, int maxUnknownMessages)
public DefaultPCEPSessionNegotiatorFactory(PCEPSessionProposalFactory spf, int maxUnknownMessages, Tls tlsConfiguration)
public DefaultPCEPSessionNegotiatorFactory(PCEPSessionProposalFactory spf, PcepDispatcherConfig config)
protected AbstractPCEPSessionNegotiator createNegotiator(io.netty.util.concurrent.Promise<PCEPSessionImpl> promise, PCEPSessionListener listener, io.netty.channel.Channel channel, short sessionId, PCEPPeerProposal peerProposal)
AbstractPCEPSessionNegotiatorFactory
createNegotiator
in class AbstractPCEPSessionNegotiatorFactory
promise
- Session promise to be completed by the negotiatorlistener
- PCEPSessionListenerchannel
- Associated channelsessionId
- Session ID assigned to the resulting sessionpublic PCEPSessionProposalFactory getPCEPSessionProposalFactory()
Copyright © 2018 OpenDaylight. All rights reserved.