client-cpp
0.10.0
|
#include <DefaultFailoverStrategy.hpp>
Public Member Functions | |
DefaultFailoverStrategy (IKaaClientContext &context, std::size_t retryPeriod=DEFAULT_RETRY_PERIOD) | |
virtual FailoverStrategyDecision | onFailover (KaaFailoverReason failover) |
Public Member Functions inherited from kaa::IFailoverStrategy | |
virtual | ~IFailoverStrategy () |
Static Public Attributes | |
static const std::size_t | DEFAULT_RETRY_PERIOD = 5 |
Protected Attributes | |
IKaaClientContext & | context_ |
std::size_t | retryPeriod_ = DEFAULT_RETRY_PERIOD |
Definition at line 28 of file DefaultFailoverStrategy.hpp.
|
inline |
Definition at line 30 of file DefaultFailoverStrategy.hpp.
|
virtual |
Implements kaa::IFailoverStrategy.
|
protected |
Definition at line 42 of file DefaultFailoverStrategy.hpp.
|
static |
Definition at line 39 of file DefaultFailoverStrategy.hpp.
|
protected |
Definition at line 44 of file DefaultFailoverStrategy.hpp.