![]() |
Diffusion C API 6.12.0
|
Structure for adding a topic notification listener. More...
#include <topic-notifications.h>
Data Fields | |
| on_listener_registered_cb | on_registered |
| Callback when a topic notification listener has been registered. | |
| on_descendant_notification_cb | on_descendant_notification |
| Callback topic notification for an immediate descendant of a selected topic path. | |
| 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. | |
| 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. | |
Structure for adding a topic notification listener.