client-c  0.9.0
posix_kaa_failover_strategy.h File Reference
+ Include dependency graph for posix_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.