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/messagesTo 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
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable org.opendaylight.yangtools.yang.common.Uint32
getLastSentMsgTimestamp()
The timestamp of last sent message.@Nullable org.opendaylight.yangtools.yang.common.Uint32
getReceivedMsgCount()
Total number of received PCEP messages.@Nullable org.opendaylight.yangtools.yang.common.Uint32
getSentMsgCount()
Total number of sent PCEP messages.@Nullable org.opendaylight.yangtools.yang.common.Uint16
getUnknownMsgReceived()
The number of received unknown messages.default Class<Messages>
implementedInterface()
-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.stats.rev171113.ErrorMessagesGrouping
getErrorMessages
-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.stats.rev171113.ReplyTimeGrouping
getReplyTime
-
-
-
-
Method Detail
-
implementedInterface
default Class<Messages> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
- Specified by:
implementedInterface
in interfaceErrorMessagesGrouping
- Specified by:
implementedInterface
in interfaceReplyTimeGrouping
-
getReceivedMsgCount
@Nullable org.opendaylight.yangtools.yang.common.Uint32 getReceivedMsgCount()
Total number of received PCEP messages.- Returns:
org.opendaylight.yangtools.yang.common.Uint32
receivedMsgCount
, ornull
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
, ornull
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
, ornull
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
, ornull
if not present
-
-