All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
All Known Subinterfaces:
PeerDownNotification

@Generated("mdsal-binding-generator") public interface PeerDown extends org.opendaylight.yangtools.yang.binding.DataObject

This class represents the following YANG schema fragment defined in module bmp-message

 grouping peer-down {
   leaf local-system-closed {
     type boolean;
   }
   choice data {
     container notification {
       uses bgp-msg:notify-message;
     }
     leaf fsm-event-code {
       type uint16;
       default 0;
     }
   }
 }
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return data, or null if it is not present.
    Return localSystemClosed, or null if it is not present.
    Class<? extends PeerDown>
     
    default @NonNull Boolean
    Return localSystemClosed, guaranteed to be non-null.
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

      Class<? extends PeerDown> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
    • getLocalSystemClosed

      Boolean getLocalSystemClosed()
      Return localSystemClosed, or null if it is not present.
           
               If set true, the local system closed the session. Otherwise the remote system
               closed the session.
           
       
      Returns:
      Boolean localSystemClosed, or null if it is not present.
    • requireLocalSystemClosed

      default @NonNull Boolean requireLocalSystemClosed()
      Return localSystemClosed, guaranteed to be non-null.
           
               If set true, the local system closed the session. Otherwise the remote system
               closed the session.
           
       
      Returns:
      Boolean localSystemClosed, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if localSystemClosed is not present
    • getData

      Data getData()
      Return data, or null if it is not present.
      Returns:
      Data data, or null if it is not present.