public interface Messages extends org.opendaylight.yangtools.yang.binding.ChildOf<PcepSessionState>, org.opendaylight.yangtools.yang.binding.Augmentable<Messages>, ReplyTimeGrouping, ErrorMessagesGrouping
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.
MessagesBuilder| Modifier and Type | Field and Description |
|---|---|
static @NonNull org.opendaylight.yangtools.yang.common.QName |
QNAME |
| Modifier and Type | Method and Description |
|---|---|
@Nullable Long |
getLastSentMsgTimestamp()
The timestamp of last sent message.
|
@Nullable Long |
getReceivedMsgCount()
Total number of received PCEP messages.
|
@Nullable Long |
getSentMsgCount()
Total number of sent PCEP messages.
|
@Nullable Integer |
getUnknownMsgReceived()
The number of received unknown messages.
|
default Class<Messages> |
implementedInterface() |
getReplyTimegetErrorMessagesdefault Class<Messages> implementedInterface()
implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainerimplementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObjectimplementedInterface in interface ErrorMessagesGroupingimplementedInterface in interface ReplyTimeGrouping@Nullable Long getReceivedMsgCount()
java.lang.Long receivedMsgCount, or null if not present@Nullable Long getSentMsgCount()
java.lang.Long sentMsgCount, or null if not present@Nullable Long getLastSentMsgTimestamp()
java.lang.Long lastSentMsgTimestamp, or null if not present@Nullable Integer getUnknownMsgReceived()
java.lang.Integer unknownMsgReceived, or null if not presentCopyright © 2020 OpenDaylight. All rights reserved.