The notification context is the key datastructure for a convenience API used for transmission of notifications to the subscriber until the subscriber disconnects (or the notification context is destroyed, in which case we disconnect these subscribers). More...
Data Fields | |
struct SubscriberList * | subscribers_head |
Head of list of subscribers receiving notifications. More... | |
struct SubscriberList * | subscribers_tail |
Tail of list of subscribers receiving notifications. More... | |
unsigned int | queue_length |
Maximum number of optional messages to queue per subscriber. More... | |
The notification context is the key datastructure for a convenience API used for transmission of notifications to the subscriber until the subscriber disconnects (or the notification context is destroyed, in which case we disconnect these subscribers).
Essentially, all (notification) messages are queued up until the subscriber is able to read them.
struct SubscriberList* GNUNET_NotificationContext::subscribers_head |
Head of list of subscribers receiving notifications.
Definition at line 81 of file nc.c.
Referenced by GNUNET_notification_context_add(), GNUNET_notification_context_broadcast(), GNUNET_notification_context_destroy(), GNUNET_notification_context_get_size(), and handle_mq_destroy().
struct SubscriberList* GNUNET_NotificationContext::subscribers_tail |
Tail of list of subscribers receiving notifications.
Definition at line 86 of file nc.c.
Referenced by GNUNET_notification_context_add(), GNUNET_notification_context_destroy(), and handle_mq_destroy().
unsigned int GNUNET_NotificationContext::queue_length |
Maximum number of optional messages to queue per subscriber.
Definition at line 91 of file nc.c.
Referenced by GNUNET_notification_context_broadcast(), and GNUNET_notification_context_create().