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