38 #ifndef KAA_EVENT_MANAGER_T
39 # define KAA_EVENT_MANAGER_T
void(* kaa_event_callback_t)(const char *event_fqn, const char *event_data, size_t event_data_size, kaa_endpoint_id_p event_source)
Definition: kaa_event.h:35
size_t kaa_event_block_id
Definition: kaa_event.h:36
kaa_error_t
Definition: kaa_error.h:31
kaa_error_t kaa_event_create_transaction(kaa_event_manager_t *self, kaa_event_block_id *trx_id)
Start a new event block.
External interface for receiving event listeners responses used by Kaa Event subsystem.
kaa_error_t kaa_event_remove_transaction(kaa_event_manager_t *self, kaa_event_block_id trx_id)
Removes the event block without sending events.
Interface for the event listeners response receiver.
Definition: ext_event_listeners_callback.h:61
const uint8_t * kaa_endpoint_id_p
Definition: kaa_common.h:96
kaa_error_t kaa_event_manager_find_event_listeners(kaa_event_manager_t *self, const char *fqns[], size_t fqns_count, const kaa_event_listeners_callback_t *callback)
Initiates a request to the server to search for available event listeners by given FQNs...
struct kaa_event_manager_t kaa_event_manager_t
Definition: kaa_event.h:40
const char * kaa_find_class_family_name(const char *fqn)
Find class family name of the event by its fully-qualified name.
kaa_error_t kaa_event_finish_transaction(kaa_event_manager_t *self, kaa_event_block_id trx_id)
Send all the events from the event block at once.