Interface PeerSession

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<PeerSession>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<Peer>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, PeerUp, Timestamp

    public interface PeerSession
    extends org.opendaylight.yangtools.yang.binding.ChildOf<Peer>, org.opendaylight.yangtools.yang.binding.Augmentable<PeerSession>, PeerUp, Timestamp

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

     container peer-session {
       uses bmp-msg:peer-up;
       leaf status {
         type status;
       }
       uses bmp-msg:timestamp;
     }
     
    The schema path to identify an instance is bmp-monitor/peers/peer/peer-session

    To create instances of this class use PeerSessionBuilder.

    See Also:
    PeerSessionBuilder
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        default Class<PeerSession> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
        Specified by:
        implementedInterface in interface PeerUp
        Specified by:
        implementedInterface in interface Timestamp
      • getStatus

        @Nullable Status getStatus()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bmp.monitor.rev200120.Status status, or null if not present