Class PCEPStatefulCapability
- java.lang.Object
-
- org.opendaylight.protocol.pcep.ietf.stateful.PCEPStatefulCapability
-
- All Implemented Interfaces:
PCEPCapability
public class PCEPStatefulCapability extends Object implements PCEPCapability
-
-
Constructor Summary
Constructors Constructor Description PCEPStatefulCapability(boolean stateful, boolean active, boolean instant, boolean triggeredSync, boolean triggeredResync, boolean deltaLspSync, boolean includeDbVersion)
PCEPStatefulCapability(PcepIetfStatefulConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isActive()
boolean
isDeltaLspSync()
boolean
isIncludeDbVersion()
boolean
isInstant()
boolean
isStateful()
Returs stateful capability state.boolean
isTriggeredResync()
boolean
isTriggeredSync()
void
setCapabilityProposal(InetSocketAddress address, TlvsBuilder builder)
Sets stateful capabilities tlv in incoming builder.
-
-
-
Constructor Detail
-
PCEPStatefulCapability
public PCEPStatefulCapability(boolean stateful, boolean active, boolean instant, boolean triggeredSync, boolean triggeredResync, boolean deltaLspSync, boolean includeDbVersion)
-
PCEPStatefulCapability
public PCEPStatefulCapability(PcepIetfStatefulConfig config)
-
-
Method Detail
-
setCapabilityProposal
public void setCapabilityProposal(InetSocketAddress address, TlvsBuilder builder)
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()
-
-