17 Sync(std::shared_ptr<DittoHandleWrapper> ditto_handle_wrapper);
18 std::shared_ptr<DittoHandleWrapper> ditto_handle_wrapper;
19 void set_weak_ditto_fields(std::weak_ptr<Ditto::Fields> weak_ditto_fields);
20 std::weak_ptr<Ditto::Fields> weak_ditto_fields;
23 std::shared_ptr<std::mutex>
synchronized;
25 friend class SyncSubscription;
30 bool unregister_subscription(std::shared_ptr<SyncSubscription> subscription);
32 void remove_subscription(std::shared_ptr<SyncSubscription> subscription);
44 DITTO_DEPRECATED std::set<std::shared_ptr<SyncSubscription>>
subscriptions;
61 std::shared_ptr<SyncSubscription>
std::shared_ptr< SyncSubscription > register_subscription(std::string query, nlohmann::json query_args=nullptr)
Installs and returns a sync subscription for a query, configuring Ditto to receive updates from other...
Definition Sync.cpp:21