C++ Server-Side SDK
LaunchDarkly SDK
|
#include <ibootstrapper.hpp>
Classes | |
class | Error |
Public Member Functions | |
virtual tl::expected< data_model::SDKDataSet, Error > | FetchAll (std::chrono::milliseconds timeout_hint)=0 |
virtual std::string const & | Identity () const =0 |
IBootstrapper (IBootstrapper const &item)=delete | |
IBootstrapper (IBootstrapper &&item)=delete | |
IBootstrapper & | operator= (IBootstrapper const &)=delete |
IBootstrapper & | operator= (IBootstrapper &&)=delete |
Defines a component that can fetch a complete dataset for use in a Data System. Bootstrapping takes place when the SDK starts, and is responsible for provisioning the initial data that an SDK uses before it can begin the on-going synchronization process.
|
pure virtual |
Fetch a complete dataset. This method must invokable multiple times.
timeout_hint | amount of time to spend fetching data. If the time limit is reached, return Error::Timeout. |
|
pure virtual |