Interface Messages

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<Messages>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<PcepSessionState>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, ErrorMessagesGrouping, ReplyTimeGrouping

    public interface Messages
    extends org.opendaylight.yangtools.yang.binding.ChildOf<PcepSessionState>, org.opendaylight.yangtools.yang.binding.Augmentable<Messages>, ReplyTimeGrouping, ErrorMessagesGrouping
    The statistics of PCEP received/sent messages from the PCE point of view.

    This class represents the following YANG schema fragment defined in module pcep-session-stats

     container messages {
       uses reply-time-grouping;
       leaf received-msg-count {
         type uint32;
         default 0;
       }
       leaf sent-msg-count {
         type uint32;
         default 0;
       }
       leaf last-sent-msg-timestamp {
         type uint32;
         default 0;
       }
       leaf unknown-msg-received {
         type uint16;
         default 0;
       }
       uses error-messages-grouping;
     }
     
    The schema path to identify an instance is pcep-session-stats/pcep-session-state/messages

    To create instances of this class use MessagesBuilder.

    See Also:
    MessagesBuilder
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static @NonNull org.opendaylight.yangtools.yang.common.QName QNAME  
    • Field Detail

      • QNAME

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

      • getReceivedMsgCount

        @Nullable org.opendaylight.yangtools.yang.common.Uint32 getReceivedMsgCount()
        Total number of received PCEP messages.
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 receivedMsgCount, or null if not present
      • getSentMsgCount

        @Nullable org.opendaylight.yangtools.yang.common.Uint32 getSentMsgCount()
        Total number of sent PCEP messages.
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 sentMsgCount, or null if not present
      • getLastSentMsgTimestamp

        @Nullable org.opendaylight.yangtools.yang.common.Uint32 getLastSentMsgTimestamp()
        The timestamp of last sent message.
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 lastSentMsgTimestamp, or null if not present
      • getUnknownMsgReceived

        @Nullable org.opendaylight.yangtools.yang.common.Uint16 getUnknownMsgReceived()
        The number of received unknown messages.
        Returns:
        org.opendaylight.yangtools.yang.common.Uint16 unknownMsgReceived, or null if not present