Class PCEPStatefulCapability

java.lang.Object
org.opendaylight.protocol.pcep.PCEPCapability
org.opendaylight.protocol.pcep.ietf.stateful.PCEPStatefulCapability

public final class PCEPStatefulCapability extends PCEPCapability
  • Constructor Details

    • PCEPStatefulCapability

      public PCEPStatefulCapability()
    • PCEPStatefulCapability

      public PCEPStatefulCapability(boolean active, boolean initiated, boolean triggeredSync, boolean triggeredResync, boolean deltaLspSync, boolean includeDbVersion)
    • PCEPStatefulCapability

      public PCEPStatefulCapability(StatefulCapabilities config)
  • Method Details

    • setCapabilityProposal

      public void setCapabilityProposal(InetSocketAddress address, TlvsBuilder builder)
      Description copied from class: PCEPCapability
      Sets stateful capabilities tlv in incoming builder.
      Specified by:
      setCapabilityProposal in class PCEPCapability
      Parameters:
      address - peer address to assign capability proposal
      builder - for TLVs included in PCEPOpenObject
    • isActive

      public boolean isActive()
    • isInstant

      public boolean isInstant()
    • isTriggeredSync

      public boolean isTriggeredSync()
    • isTriggeredResync

      public boolean isTriggeredResync()
    • isDeltaLspSync

      public boolean isDeltaLspSync()
    • isIncludeDbVersion

      public boolean isIncludeDbVersion()
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class PCEPCapability
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in class PCEPCapability
    • addToStringAttributes

      protected com.google.common.base.MoreObjects.ToStringHelper addToStringAttributes(com.google.common.base.MoreObjects.ToStringHelper helper)
      Overrides:
      addToStringAttributes in class PCEPCapability