client-c  0.9.0
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"
+ Include dependency graph for kaa_bootstrap_manager.h:
+ This graph shows which files directly or indirectly include this file:

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.

Definition in file kaa_bootstrap_manager.h.

Macro Definition Documentation

#define KAA_BOOTSTRAP_MANAGER_T

Definition at line 38 of file kaa_bootstrap_manager.h.

Typedef Documentation

Definition at line 39 of file kaa_bootstrap_manager.h.

Enumeration Type Documentation

Enumerator
KAA_SERVER_BOOTSTRAP 
KAA_SERVER_OPERATIONS 

Definition at line 44 of file kaa_bootstrap_manager.h.

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