Diffusion C API
5.9.24
|
Functions for notifying a client that it has been subscribed to a topic. More...
Data Structures | |
struct | svc_notify_subscription_request_s |
Structure describing an incoming notification that the client has been subscribed to a topic. More... | |
struct | svc_notify_subscription_response_s |
Response message to subscription notifications. More... | |
struct | notify_subscription_handlers_s |
struct | notify_subscription_params_s |
Structure supplied when registering to receive topic subscription notifications. More... | |
Macros | |
#define | NOTIFY_SUBSCRIPTION |
Callback handlers for subscription notification messages. | |
Typedefs | |
typedef struct svc_notify_subscription_request_s | SVC_NOTIFY_SUBSCRIPTION_REQUEST_T |
Structure describing an incoming notification that the client has been subscribed to a topic. | |
typedef struct svc_notify_subscription_response_s | SVC_NOTIFY_SUBSCRIPTION_RESPONSE_T |
Response message to subscription notifications. | |
typedef int(* | on_notify_subscription_cb )(SESSION_T *session, const SVC_NOTIFY_SUBSCRIPTION_REQUEST_T *request, void *context) |
Callback for notify_subscription_register(). More... | |
typedef struct notify_subscription_params_s | NOTIFY_SUBSCRIPTION_PARAMS_T |
Structure supplied when registering to receive topic subscription notifications. | |
Functions | |
void | notify_subscription_register (SESSION_T *session, const NOTIFY_SUBSCRIPTION_PARAMS_T params) |
Register to receive subscription notifications. More... | |
Functions for notifying a client that it has been subscribed to a topic.
typedef int(* on_notify_subscription_cb)(SESSION_T *session, const SVC_NOTIFY_SUBSCRIPTION_REQUEST_T *request, void *context) |
Callback for notify_subscription_register().
session | The current active session. |
request | The incoming notification request. |
context | User-supplied context from the initial registration call. |