Interface PCEPSessionProposalFactory

  • All Known Implementing Classes:
    BasePCEPSessionProposalFactory

    public interface PCEPSessionProposalFactory
    Factory for generating PCEP Session proposals. Used by a server.
    • Method Detail

      • 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 addresses
        sessionId - is used for creation of PCEPOpenObject
        peerProposal - 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