![]() |
Diffusion C API 6.11.5
|
The registration state of the associated listener on the server. More...
Data Structures | |
struct | diffusion_topic_notification_registration_params_s |
Structure supplied when issuing a diffusion_topic_notification_registration_select or diffusion_topic_notification_registration_deselect request. More... | |
Typedefs | |
typedef int(* | on_selected_cb) (void *context) |
Callback when topic notifications for a topic selector has successfully been selected. | |
typedef int(* | on_deselected_cb) (void *context) |
Callback when topic notifications for a topic selector has successfully been deselected. | |
typedef struct diffusion_topic_notification_registration_params_s | DIFFUSION_TOPIC_NOTIFICATION_REGISTRATION_PARAMS_T |
Structure supplied when issuing a diffusion_topic_notification_registration_select or diffusion_topic_notification_registration_deselect request. | |
Functions | |
bool | diffusion_topic_notification_registration_select (SESSION_T *session, const DIFFUSION_TOPIC_NOTIFICATION_REGISTRATION_PARAMS_T params, DIFFUSION_API_ERROR *api_error) |
Request to receive notifications for all topics matched by the provided selector. | |
bool | diffusion_topic_notification_registration_deselect (SESSION_T *session, const DIFFUSION_TOPIC_NOTIFICATION_REGISTRATION_PARAMS_T params, DIFFUSION_API_ERROR *api_error) |
Request to stop receiving notifications for all topics matched by the given selector. | |
The registration state of the associated listener on the server.
The registration also provides operations to control which topic paths the listener will receive notifications for.
typedef int(* on_deselected_cb) (void *context) |
Callback when topic notifications for a topic selector has successfully been deselected.
context | User supplied context. |
typedef int(* on_selected_cb) (void *context) |
Callback when topic notifications for a topic selector has successfully been selected.
context | User supplied context. |