BeeeOn Gateway
v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
|
RandomBackOffFactory creates a preconfigured instances of class RandomBackOff. More...
#include <RandomBackOff.h>
Public Member Functions | |
void | setMin (const Poco::Timespan &min) |
void | setMax (const Poco::Timespan &max) |
void | setCount (int count) |
void | setSeed (int seed) |
void | validate () |
BackOff::Ptr | create () override |
Additional Inherited Members | |
Public Types inherited from BeeeOn::BackOffFactory | |
typedef Poco::SharedPtr < BackOffFactory > | Ptr |
RandomBackOffFactory creates a preconfigured instances of class RandomBackOff.
|
overridevirtual |
Create a new instance of the particular BackOff implementation.
Implements BeeeOn::BackOffFactory.