Diffusion C API
5.9.24
|
Functions | |
CONVERSATION_ID_T * | register_update_source (SESSION_T *session, const UPDATE_SOURCE_REGISTRATION_PARAMS_T params) |
Register a topic update source. More... | |
void | deregister_update_source (SESSION_T *session, const UPDATE_SOURCE_DEREGISTRATION_PARAMS_T params) |
Deregister a topic update source. More... | |
void | update (SESSION_T *session, const UPDATE_SOURCE_PARAMS_T params) |
Update topic content. More... | |
void deregister_update_source | ( | SESSION_T * | session, |
const UPDATE_SOURCE_DEREGISTRATION_PARAMS_T | params | ||
) |
Deregister a topic update source.
Deregisters an existing update source from Diffusion.
session | The session handle. If NULL, this function returns immediately. |
params | Parameter structure describing the deregistration request. |
CONVERSATION_ID_T* register_update_source | ( | SESSION_T * | session, |
const UPDATE_SOURCE_REGISTRATION_PARAMS_T | params | ||
) |
Register a topic update source.
Registers an update source with Diffusion, requesting responsibility for managing topic state for all topics from a given point and below.
session | The session handle. If NULL, this function returns immediately with a NULL value. |
params | Parameter structure describing the registration request. |
void update | ( | SESSION_T * | session, |
const UPDATE_SOURCE_PARAMS_T | params | ||
) |
Update topic content.
Sends new topic content to Diffusion, for transmission to subscribed clients.
session | The session handle. If NULL, this function returns immediately. |
params | Parameter structure describing which topic to update, the new content, how the update is to be applied, and callbacks to handle success or failure notifications. |