Kaa client C SDK
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
kaa_failover_strategy.h File Reference
#include "platform/ext_kaa_failover_strategy.h"

Go to the source code of this file.

Functions

kaa_error_t kaa_failover_strategy_set (kaa_failover_strategy_t *strategy, kaa_failover_decision_t *decision)
 Sets decision that will be made in case of failover. More...
 

Function Documentation

kaa_error_t kaa_failover_strategy_set ( kaa_failover_strategy_t strategy,
kaa_failover_decision_t decision 
)

Sets decision that will be made in case of failover.

Parameters
[in]strategyThe pointer to the failover strategy instance.
[in]decisionThe pointer to the the decision structure, filled by user.
Returns
The error code.