Kaa client C SDK
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros | Typedefs | Enumerations | Functions
kaa_bootstrap_manager.h File Reference

Management of the Operations servers connection parameters. More...

#include <stdbool.h>
#include "kaa_error.h"
#include "kaa_common.h"
#include "platform/ext_kaa_failover_strategy.h"

Go to the source code of this file.

Macros

#define KAA_BOOTSTRAP_MANAGER_T
 

Typedefs

typedef struct
kaa_bootstrap_manager_t 
kaa_bootstrap_manager_t
 

Enumerations

enum  kaa_server_type_t { KAA_SERVER_BOOTSTRAP = 0, KAA_SERVER_OPERATIONS = 1 }
 

Functions

kaa_error_t kaa_bootstrap_manager_on_access_point_failed (kaa_bootstrap_manager_t *self, kaa_transport_protocol_id_t *protocol_id, kaa_server_type_t type, kaa_failover_reason reason_code)
 Notifies some error has occurred while using an access point. More...
 

Detailed Description

Management of the Operations servers connection parameters.

Manages connection parameters to Operations servers that are received from Bootstrap servers.

Macro Definition Documentation

#define KAA_BOOTSTRAP_MANAGER_T

Typedef Documentation

Enumeration Type Documentation

Enumerator
KAA_SERVER_BOOTSTRAP 
KAA_SERVER_OPERATIONS 

Function Documentation

kaa_error_t kaa_bootstrap_manager_on_access_point_failed ( kaa_bootstrap_manager_t self,
kaa_transport_protocol_id_t protocol_id,
kaa_server_type_t  type,
kaa_failover_reason  reason_code 
)

Notifies some error has occurred while using an access point.

Parameters
[in]selfBootstrap manager.
[in]protocol_idTransport protocol id that failed access point belongs to.
[in]typeServer type that failed access point belongs to.
[in]reason_codeThe reason of failure.
Returns
Error code.
See Also
kaa_transport_protocol_id_t