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)
PCEPSessionProposalFactorygetSessionProposal in interface PCEPSessionProposalFactoryaddress - 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()
PCEPSessionProposalFactorygetCapabilities in interface PCEPSessionProposalFactoryCopyright © 2019 OpenDaylight. All rights reserved.