Package org.opendaylight.protocol.pcep
Interface PCEPSessionProposalFactory
- All Known Implementing Classes:
BasePCEPSessionProposalFactory
public interface PCEPSessionProposalFactory
Factory for generating PCEP Session proposals. Used by a server.
-
Method Summary
Modifier and TypeMethodDescription@NonNull List<PCEPCapability>
Returns list containing PCEP Capabilities.@NonNull Open
getSessionProposal
(@NonNull InetSocketAddress address, int sessionId, @Nullable PCEPPeerProposal peerProposal) Creates Open with session proposal.
-
Method Details
-
getSessionProposal
@NonNull Open getSessionProposal(@NonNull InetSocketAddress address, int sessionId, @Nullable PCEPPeerProposal peerProposal) Creates Open with session proposal.- 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
@NonNull List<PCEPCapability> getCapabilities()Returns list containing PCEP Capabilities.- Returns:
- PCEPCapabilities
-