Class PCEPStatefulCapability
java.lang.Object
org.opendaylight.protocol.pcep.ietf.stateful.PCEPStatefulCapability
- All Implemented Interfaces:
PCEPCapability
-
Constructor Summary
ConstructorDescriptionPCEPStatefulCapability
(boolean stateful, boolean active, boolean initiated, boolean triggeredSync, boolean triggeredResync, boolean deltaLspSync, boolean includeDbVersion) -
Method Summary
Modifier and TypeMethodDescriptionboolean
isActive()
boolean
boolean
boolean
boolean
Returs stateful capability state.boolean
boolean
void
setCapabilityProposal
(InetSocketAddress address, TlvsBuilder builder) Sets stateful capabilities tlv in incoming builder.
-
Constructor Details
-
PCEPStatefulCapability
public PCEPStatefulCapability() -
PCEPStatefulCapability
public PCEPStatefulCapability(boolean stateful, boolean active, boolean initiated, boolean triggeredSync, boolean triggeredResync, boolean deltaLspSync, boolean includeDbVersion) -
PCEPStatefulCapability
-
-
Method Details
-
setCapabilityProposal
Description copied from interface:PCEPCapability
Sets stateful capabilities tlv in incoming builder.- Specified by:
setCapabilityProposal
in interfacePCEPCapability
- Parameters:
address
- peer address to assign capability proposalbuilder
- for TLVs included in PCEPOpenObject
-
isStateful
public boolean isStateful()Description copied from interface:PCEPCapability
Returs stateful capability state.- Specified by:
isStateful
in interfacePCEPCapability
- Returns:
- true if capability is present
-
isActive
public boolean isActive() -
isInstant
public boolean isInstant() -
isTriggeredSync
public boolean isTriggeredSync() -
isTriggeredResync
public boolean isTriggeredResync() -
isDeltaLspSync
public boolean isDeltaLspSync() -
isIncludeDbVersion
public boolean isIncludeDbVersion()
-