Diffusion C API  6.5.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
diffusion_topic_notification_listener_s Struct Reference

Structure for adding a topic notification listener. More...

Data Fields

on_listener_registered_cb on_registered
 Callback when a topic notification listener has been registered. More...
 
on_descendant_notification_cb on_descendant_notification
 Callback topic notification for an immediate descendant of a selected topic path. More...
 
on_topic_notification_cb on_topic_notification
 Callback topic notification for a selected topic.
 
on_topic_notification_listener_close_cb on_close
 Callback when a topic notification listener has been closed. More...
 
ERROR_HANDLER_T on_error
 Callback to handle errors from the server. Can be NULL.
 
DISCARD_HANDLER_T on_discard
 Callback to handle discards. Can be NULL.
 
void * context
 User supplied context. Can be NULL.
 

Detailed Description

Structure for adding a topic notification listener.

Field Documentation

on_topic_notification_listener_close_cb diffusion_topic_notification_listener_s::on_close

Callback when a topic notification listener has been closed.

on_descendant_notification_cb diffusion_topic_notification_listener_s::on_descendant_notification

Callback topic notification for an immediate descendant of a selected topic path.

on_listener_registered_cb diffusion_topic_notification_listener_s::on_registered

Callback when a topic notification listener has been registered.


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