Kaa client C SDK
|
Go to the source code of this file.
Data Structures | |
struct | kaa_transport_context_t |
Used to initialize transport channel implementation with Kaa specific transport context. More... | |
struct | kaa_transport_channel_interface_t |
Interface for a client transport channel implementation. More... | |
Typedefs | |
typedef kaa_error_t(* | kaa_init_channel_fn )(void *channel_context, kaa_transport_context_t *transport_context) |
Initializes the transport channel implementation. More... | |
typedef kaa_error_t(* | kaa_set_access_point_fn )(void *channel_context, kaa_access_point_t *access_point) |
Sets transport connection data. More... | |
typedef kaa_error_t(* | kaa_get_protocol_id_fn )(void *context, kaa_transport_protocol_id_t *protocol_info) |
Retrieves a transport protocol id supported by a transport channel implementation. More... | |
typedef kaa_error_t(* | kaa_get_supported_services_fn )(void *context, const kaa_extension_id **supported_services, size_t *service_count) |
Retrieves the list of the supported services. More... | |
typedef kaa_error_t(* | kaa_sync_handler_fn )(void *context, const kaa_extension_id services[], size_t service_count) |
Kaa sync request handler function for specific services. More... | |
typedef kaa_error_t(* | kaa_tcp_channel_destroy_fn )(void *context) |
Releases channel context. More... | |
typedef kaa_error_t(* kaa_get_protocol_id_fn)(void *context, kaa_transport_protocol_id_t *protocol_info) |
Retrieves a transport protocol id supported by a transport channel implementation.
[in] | context | Channel context. |
[out] | protocol_info | Transport protocol id instance to be filled in. |
typedef kaa_error_t(* kaa_get_supported_services_fn)(void *context, const kaa_extension_id **supported_services, size_t *service_count) |
Retrieves the list of the supported services.
[in] | context | Channel context. |
[out] | supported_services | List of the supported services. |
[out] | service_count | Number of the supported services. |
typedef kaa_error_t(* kaa_init_channel_fn)(void *channel_context, kaa_transport_context_t *transport_context) |
Initializes the transport channel implementation.
[in] | channel_context | Channel context. |
[in] | transport_context | Kaa specific transport context. |
typedef kaa_error_t(* kaa_set_access_point_fn)(void *channel_context, kaa_access_point_t *access_point) |
Sets transport connection data.
[in] | channel_context | Channel context. |
[in] | access_point | Connection data used to establish connection to Operations server. |
typedef kaa_error_t(* kaa_sync_handler_fn)(void *context, const kaa_extension_id services[], size_t service_count) |
Kaa sync request handler function for specific services.
[in] | context | Channel context. |
[in] | services | List of services. |
[in] | service_count | Number of services. |
typedef kaa_error_t(* kaa_tcp_channel_destroy_fn)(void *context) |
Releases channel context.
[in] | context | Channel context. |