client-c  0.8.1
kaa_channel_manager.h
Go to the documentation of this file.
1 
27 #ifndef KAA_CHANNEL_MANAGER_H_
28 #define KAA_CHANNEL_MANAGER_H_
29 
30 #include "kaa_common.h"
32 
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36 
40 #ifndef KAA_CHANNEL_MANAGER_T
41 # define KAA_CHANNEL_MANAGER_T
43 #endif
44 
45 
46 
56  , uint32_t *channel_id);
57 
77  , uint32_t *channel_id);
78 
86  kaa_service_t service_type);
87 
88 
102  , uint32_t channel_id);
103 
104 #ifdef __cplusplus
105 } /* extern "C" */
106 #endif
107 #endif /* KAA_CHANNEL_MANAGER_H_ */
kaa_transport_channel_interface_t * kaa_channel_manager_get_transport_channel(kaa_channel_manager_t *self, kaa_service_t service_type)
Gets transport channel associated with the service.
Common C EP SDK definitions and small utilities.
kaa_error_t
Definition: kaa_error.h:31
kaa_error_t kaa_channel_manager_remove_transport_channel(kaa_channel_manager_t *self, uint32_t channel_id)
Removes user-defined transport channel implementation from the currently registered list...
Interface for a client transport channel implementation.
kaa_service_t
Types of Kaa platform services.
Definition: kaa_common.h:57
kaa_error_t kaa_transport_channel_id_calculate(kaa_transport_channel_interface_t *channel, uint32_t *channel_id)
Kaa channel manager structure.
struct kaa_channel_manager_t kaa_channel_manager_t
Definition: kaa_context.h:50
kaa_error_t kaa_channel_manager_add_transport_channel(kaa_channel_manager_t *self, kaa_transport_channel_interface_t *channel, uint32_t *channel_id)
Adds user-defined transport channel implementation as a sync request handler for the given list of se...