EII Message Bus C Reference
|
Go to the documentation of this file.
27 #ifndef _EII_MESSAGE_BUS_H
28 #define _EII_MESSAGE_BUS_H
33 #include <eii/utils/config.h>
45 void (*free)(
void* data);
137 void* ctx,
const char* topic,
user_data_t* user_data,
183 void* ctx,
const char* service_name,
void* user_data,
199 void* ctx,
const char* service_name,
void* user_data,
245 #endif // __cpluspplus
247 #endif // _EII_MESSAGE_BUS_H
msgbus_ret_t msgbus_recv_nowait(void *ctx, recv_ctx_t *recv_ctx, msg_envelope_t **message)
Messaging envelope abstraction.
msgbus_ret_t msgbus_recv_timedwait(void *ctx, recv_ctx_t *recv_ctx, int timeout, msg_envelope_t **message)
msgbus_ret_t msgbus_publisher_new(void *ctx, const char *topic, publisher_ctx_t **pub_ctx)
void msgbus_publisher_destroy(void *ctx, publisher_ctx_t *pub_ctx)
msgbus_ret_t msgbus_recv_wait(void *ctx, recv_ctx_t *recv_ctx, msg_envelope_t **message)
msgbus_ret_t
Definition: msgbusret.h:36
Definition: msg_envelope.h:111
void * publisher_ctx_t
Definition: msgbus.h:70
msgbus_ret_t msgbus_request(void *ctx, recv_ctx_t *service_ctx, msg_envelope_t *message)
msgbus_ret_t msgbus_publisher_publish(void *ctx, publisher_ctx_t *pub_ctx, msg_envelope_t *message)
msgbus_ret_t msgbus_subscriber_new(void *ctx, const char *topic, user_data_t *user_data, recv_ctx_t **subscriber)
msgbus_ret_t msgbus_response(void *ctx, recv_ctx_t *service_ctx, msg_envelope_t *message)
msgbus_ret_t msgbus_service_get(void *ctx, const char *service_name, void *user_data, recv_ctx_t **service_ctx)
void * msgbus_initialize(config_t *config)
msgbus_ret_t msgbus_service_new(void *ctx, const char *service_name, void *user_data, recv_ctx_t **service_ctx)
void msgbus_recv_ctx_destroy(void *ctx, recv_ctx_t *recv_ctx)
void msgbus_destroy(void *ctx)