Diffusion C API
5.9.24
|
Functions for registering message handlers. More...
Data Structures | |
struct | svc_msg_receiver_registration_request_s |
Structure containing information passed to Diffusion in order to register a message handler at a topic endpoint. More... | |
struct | svc_msg_receiver_registration_response_s |
Response structure when a handler is registered. More... | |
struct | msg_receiver_registration_params_s |
Structure supplied when issuing a register_msg_handler() call. More... | |
Macros | |
#define | DEFAULT_MSG_RECEIVER_GROUP_NAME |
Default control group if not specified. | |
#define | MSG_RECEIVER_REGISTRATION_HANDLERS |
Handlers for notification of registration of handler and message receipt. | |
Typedefs | |
typedef struct svc_msg_receiver_registration_request_s | SVC_MSG_RECEIVER_REGISTRATION_REQUEST_T |
Structure containing information passed to Diffusion in order to register a message handler at a topic endpoint. | |
typedef struct svc_msg_receiver_registration_response_s | SVC_MSG_RECEIVER_REGISTRATION_RESPONSE_T |
Response structure when a handler is registered. | |
typedef int(* | on_msg_receiver_registration_cb )(SESSION_T *session, void *context) |
Callback when a handler is registered with the server. More... | |
typedef struct msg_receiver_registration_params_s | MSG_RECEIVER_REGISTRATION_PARAMS_T |
Structure supplied when issuing a register_msg_handler() call. | |
Functions | |
void | register_msg_handler (SESSION_T *session, const MSG_RECEIVER_REGISTRATION_PARAMS_T params) |
Register a message handler. More... | |
void | deregister_msg_handler (SESSION_T *session, const MSG_RECEIVER_REGISTRATION_PARAMS_T params) |
Deregister a message handler. More... | |
Functions for registering message handlers.
typedef int(* on_msg_receiver_registration_cb)(SESSION_T *session, void *context) |
Callback when a handler is registered with the server.
session | The currently active session. |
context | User-supplied context from the initial register_msg_handler() call. |