NewMadeleine

Documentation

« back to PM2 home.
nm_sr_monitor_s Struct Reference

a global monitor to listen to events on the full session More...

#include <nm_sendrecv_interface.h>

Collaboration diagram for nm_sr_monitor_s:

Data Fields

nm_sr_event_notifier_t p_notifier
 the function to call when a matching event happen
 
nm_sr_event_t event_mask
 a bitmask containing events kinds to listen to
 
nm_gate_t p_gate
 listen for events on given gate; NM_ANY_GATE for any
 
nm_tag_t tag
 tag value for event filter
 
nm_tag_t tag_mask
 tag mask for event filter- fire event when event.tag & monitor.tag_mask == monitor.tag; set tag = 0 && tag_mask = NM_TAG_MASK_NONE to catch any tag; set tag_mask = NM_TAG_MASK_FULL to catch a given tag
 
void * ref
 reference for user
 

Detailed Description

a global monitor to listen to events on the full session

Definition at line 82 of file nm_sendrecv_interface.h.

Field Documentation

◆ event_mask

nm_sr_event_t nm_sr_monitor_s::event_mask

a bitmask containing events kinds to listen to

Definition at line 85 of file nm_sendrecv_interface.h.

◆ p_gate

nm_gate_t nm_sr_monitor_s::p_gate

listen for events on given gate; NM_ANY_GATE for any

Definition at line 86 of file nm_sendrecv_interface.h.

◆ p_notifier

nm_sr_event_notifier_t nm_sr_monitor_s::p_notifier

the function to call when a matching event happen

Definition at line 84 of file nm_sendrecv_interface.h.

◆ ref

void* nm_sr_monitor_s::ref

reference for user

Definition at line 89 of file nm_sendrecv_interface.h.

◆ tag

nm_tag_t nm_sr_monitor_s::tag

tag value for event filter

Definition at line 87 of file nm_sendrecv_interface.h.

◆ tag_mask

nm_tag_t nm_sr_monitor_s::tag_mask

tag mask for event filter- fire event when event.tag & monitor.tag_mask == monitor.tag; set tag = 0 && tag_mask = NM_TAG_MASK_NONE to catch any tag; set tag_mask = NM_TAG_MASK_FULL to catch a given tag

Definition at line 88 of file nm_sendrecv_interface.h.


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