Class BasePCEPSessionProposalFactory
java.lang.Object
org.opendaylight.protocol.pcep.impl.BasePCEPSessionProposalFactory
- All Implemented Interfaces:
- PCEPSessionProposalFactory
public final class BasePCEPSessionProposalFactory
extends Object
implements PCEPSessionProposalFactory
- 
Constructor SummaryConstructorsConstructorDescriptionBasePCEPSessionProposalFactory(int deadTimer, int keepAlive, List<PCEPCapability> capabilities) 
- 
Method SummaryModifier and TypeMethodDescriptionReturns list containing PCEP Capabilities.getSessionProposal(InetSocketAddress address, int sessionId, PCEPPeerProposal peerProposal) Creates Open with session proposal.
- 
Constructor Details- 
BasePCEPSessionProposalFactorypublic BasePCEPSessionProposalFactory(int deadTimer, int keepAlive, List<PCEPCapability> capabilities) 
 
- 
- 
Method Details- 
getSessionProposalpublic Open getSessionProposal(InetSocketAddress address, int sessionId, PCEPPeerProposal peerProposal) Description copied from interface:PCEPSessionProposalFactoryCreates Open with session proposal.- Specified by:
- getSessionProposalin interface- PCEPSessionProposalFactory
- Parameters:
- address- serves as constraint, so that factory is able to return different proposals for different addresses
- sessionId- is used for creation of PCEPOpenObject
- peerProposal- for including information from peer to our Open message
- Returns:
- specific session proposal
 
- 
getCapabilitiesDescription copied from interface:PCEPSessionProposalFactoryReturns list containing PCEP Capabilities.- Specified by:
- getCapabilitiesin interface- PCEPSessionProposalFactory
- Returns:
- PCEPCapabilities
 
 
-