|
C++ Server-Side SDK
LaunchDarkly SDK
|
IDestination represents a sink for data received by the SDK. A destination may be a database, local file, etc. More...
#include <idestination.hpp>

Public Member Functions | |
| virtual void | Init (data_model::SDKDataSet data_set)=0 |
| Initialize the destination with a base set of data. More... | |
| virtual void | Upsert (std::string const &key, data_model::FlagDescriptor flag)=0 |
| Upsert a flag named by key. More... | |
| virtual void | Upsert (std::string const &key, data_model::SegmentDescriptor segment)=0 |
| Upsert a segment named by key. More... | |
| virtual std::string const & | Identity () const =0 |
| IDestination (IDestination const &item)=delete | |
| IDestination (IDestination &&item)=delete | |
| IDestination & | operator= (IDestination const &)=delete |
| IDestination & | operator= (IDestination &&)=delete |
IDestination represents a sink for data received by the SDK. A destination may be a database, local file, etc.
|
pure virtual |
Implemented in launchdarkly::server_side::data_components::JsonDestination, launchdarkly::server_side::data_components::MemoryStore, and launchdarkly::server_side::data_components::ChangeNotifier.
|
pure virtual |
Initialize the destination with a base set of data.
| data_set | The initial data received by the SDK. |
Implemented in launchdarkly::server_side::data_components::MemoryStore, launchdarkly::server_side::data_components::JsonDestination, and launchdarkly::server_side::data_components::ChangeNotifier.
|
pure virtual |
Upsert a flag named by key.
| key | Flag key. |
| flag | Flag descriptor. |
Implemented in launchdarkly::server_side::data_components::JsonDestination, launchdarkly::server_side::data_components::MemoryStore, and launchdarkly::server_side::data_components::ChangeNotifier.
|
pure virtual |
Upsert a segment named by key.
| key | Segment key. |
| segment | Segment descriptor. |
Implemented in launchdarkly::server_side::data_components::JsonDestination, launchdarkly::server_side::data_components::MemoryStore, and launchdarkly::server_side::data_components::ChangeNotifier.