yumapro  24.10-1
YumaPro SDK
Loading...
Searching...
No Matches
agt_not_msg_t Struct Reference

one notification message that will be sent to all subscriptions in the stream and kept in the replay buffer for that stream (notificationQ) More...

#include <agt_not.h>

Collaboration diagram for agt_not_msg_t:

Data Fields

dlq_hdr_t qhdr
 queue header
 
obj_template_tnotobj
 notification event object for this message
 
dlq_hdr_t keyQ
 notification ancestor keyQ if this is a YANG 1.1 nested notification. More...
 
uint32 msgid
 message ID assigned to this notification
 
xmlChar eventTime [TSTAMP_MIN_SIZE]
 event received timestamp
 
val_value_tmsg
 the /notification element More...
 
val_value_tevent
 backptr inside msg for filter for top-level notifications
 
boolean usemsgid
 internal field to use or change msgid
 
status_t res
 internal status for making the message to prevent a malformed notification message from being sent to subsequent sessions
 
val_value_ttreetop
 internal backptr to the top of the instance hierarchy if this is a nested notification; YANG 1.1 says to use this treetop for the filter Not the event embedded within it
 
ncx_sm_mpid_tsm_mpid
 clone of the MPID to use if this is a schema-mounted notification. More...
 

Detailed Description

one notification message that will be sent to all subscriptions in the stream and kept in the replay buffer for that stream (notificationQ)

Field Documentation

◆ keyQ

dlq_hdr_t keyQ

notification ancestor keyQ if this is a YANG 1.1 nested notification.

  • In this case the notobj is not a top-level object and the value tree will be generated with the notification within it, as defined in RFC 7950.
  • Keys set in order by the caller: Q of val_value_t
  • These value structs can be generic
  • The names are not important and will not be used
  • Only the order is important: top-down, left-to-right
  • The actual object template for each key leaf will be used when the notification message is generated

◆ msg

the /notification element

  • This is malloced and freed when this struct is freed

◆ sm_mpid

ncx_sm_mpid_t* sm_mpid

clone of the MPID to use if this is a schema-mounted notification.

If not set then the first MPID will be used. If no MP instances found then the notification will be dropped.


The documentation for this struct was generated from the following file: