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
Constructors Constructor Description BasePCEPSessionProposalFactory(int deadTimer, int keepAlive, List<PCEPCapability> capabilities)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<PCEPCapability>
getCapabilities()
Returns list containing PCEP Capabilities.Open
getSessionProposal(InetSocketAddress address, int sessionId, PCEPPeerProposal peerProposal)
Creates Open with session proposal.
-
-
-
Constructor Detail
-
BasePCEPSessionProposalFactory
public BasePCEPSessionProposalFactory(int deadTimer, int keepAlive, List<PCEPCapability> capabilities)
-
-
Method Detail
-
getSessionProposal
public Open getSessionProposal(InetSocketAddress address, int sessionId, PCEPPeerProposal peerProposal)
Description copied from interface:PCEPSessionProposalFactory
Creates Open with session proposal.- Specified by:
getSessionProposal
in 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
public List<PCEPCapability> getCapabilities()
Description copied from interface:PCEPSessionProposalFactory
Returns list containing PCEP Capabilities.- Specified by:
getCapabilities
in interfacePCEPSessionProposalFactory
- Returns:
- PCEPCapabilities
-
-