Diffusion C API
6.2.9
|
Copyright © 2018 Push Technology Ltd., All Rights Reserved. More...
Typedefs | |
typedef struct VALUE_STREAM_HANDLE_T | VALUE_STREAM_HANDLE_T |
Token returned when a value stream is added. More... | |
Functions | |
VALUE_STREAM_HANDLE_T * | add_stream (SESSION_T *session, const char *topic_selector, const VALUE_STREAM_T *value_stream) |
Add a value stream. More... | |
VALUE_STREAM_HANDLE_T * | add_fallback_stream (SESSION_T *session, const VALUE_STREAM_T *value_stream) |
Add a fallback value stream. More... | |
void | remove_stream (SESSION_T *session, const VALUE_STREAM_HANDLE_T *handle) |
Remove a value stream. More... | |
Copyright © 2018 Push Technology Ltd., All Rights Reserved.
Use is subject to license terms.
NOTICE: All information contained herein is, and remains the property of Push Technology. The intellectual and technical concepts contained herein are proprietary to Push Technology and may be covered by U.S. and Foreign Patents, patents in process, and are protected by trade secret or copyright law.
typedef struct VALUE_STREAM_HANDLE_T VALUE_STREAM_HANDLE_T |
Token returned when a value stream is added.
This token is then required when removing the value stream.
VALUE_STREAM_HANDLE_T* add_fallback_stream | ( | SESSION_T * | session, |
const VALUE_STREAM_T * | value_stream | ||
) |
Add a fallback value stream.
session | The current active session |
value_stream | value stream to add |
VALUE_STREAM_HANDLE_T* add_stream | ( | SESSION_T * | session, |
const char * | topic_selector, | ||
const VALUE_STREAM_T * | value_stream | ||
) |
Add a value stream.
session | the current active session |
topic_selector | topic selector to register the stream for |
value_stream | value stream to add |
void remove_stream | ( | SESSION_T * | session, |
const VALUE_STREAM_HANDLE_T * | handle | ||
) |
Remove a value stream.
The handle provided to this function will be freed when the function completes.
session | The current active session |
handle | value stream handle returned from an add_stream call |