public final class BasePCEPSessionProposalFactory extends Object implements PCEPSessionProposalFactory
Constructor and Description |
---|
BasePCEPSessionProposalFactory(int deadTimer,
int keepAlive,
List<PCEPCapability> capabilities) |
Modifier and Type | Method and Description |
---|---|
List<PCEPCapability> |
getCapabilities()
Returns list containing PCEP Capabilities.
|
Open |
getSessionProposal(InetSocketAddress address,
int sessionId,
PCEPPeerProposal peerProposal)
Creates Open with session proposal.
|
public BasePCEPSessionProposalFactory(int deadTimer, int keepAlive, List<PCEPCapability> capabilities)
public Open getSessionProposal(InetSocketAddress address, int sessionId, PCEPPeerProposal peerProposal)
PCEPSessionProposalFactory
getSessionProposal
in interface PCEPSessionProposalFactory
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 messagepublic List<PCEPCapability> getCapabilities()
PCEPSessionProposalFactory
getCapabilities
in interface PCEPSessionProposalFactory
Copyright © 2019 OpenDaylight. All rights reserved.