client-c
0.8.1
|
#include "../kaa_common.h"
#include "../kaa_platform_protocol.h"
#include "../kaa_bootstrap_manager.h"
Go to the source code of this file.
Classes | |
struct | kaa_transport_context_t |
Uses 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, kaa_service_t **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_service_t 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. |
[in,out] | protocol_info | Transport protocol id instance to be filled in. |
Definition at line 78 of file ext_transport_channel.h.
typedef kaa_error_t(* kaa_get_supported_services_fn)(void *context, kaa_service_t **supported_services, size_t *service_count) |
Retrieves the list of the supported services.
[in] | context | Channel context. |
[in,out] | supported_services | List of the supported services. |
[in,out] | service_count | Number of the supported services. |
Definition at line 93 of file ext_transport_channel.h.
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. |
Definition at line 48 of file ext_transport_channel.h.
typedef kaa_error_t(* kaa_set_access_point_fn)(void *channel_context, kaa_access_point_t *access_point) |
Sets transport connection data.
NOTE: Copy connection data for the local usage.
[in] | channel_context | Channel context. |
[in] | access_point | Connection data used to establish connection to Operations server. |
Definition at line 64 of file ext_transport_channel.h.
typedef kaa_error_t(* kaa_sync_handler_fn)(void *context, const kaa_service_t 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. |
Definition at line 109 of file ext_transport_channel.h.
typedef kaa_error_t(* kaa_tcp_channel_destroy_fn)(void *context) |
Releases channel context.
[in] | context | Channel context. |
Definition at line 122 of file ext_transport_channel.h.