client-c  0.8.1
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.

Copyright 2014-2016 CyberVision, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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