While Subscription objects remain in scope they ensure that documents in the collection specified, and that match the query provided, will try to be kept up-to-date with the latest changes from remote peers.
More...
Public Attributes | |
| std::string | query |
| std::string | collection_name |
Additional Inherited Members | |
Public Member Functions inherited from ditto::Observer | |
| void | stop () |
| Stops the observation and cleans up all associated resources. | |
| bool | is_stopped () |
Returns true is the Observer was stopped. | |
Protected Member Functions inherited from ditto::Observer | |
| Observer () | |
Constructs a new Observer. | |
| ~Observer () | |
| Destroy the Abstract Observer object canceling the observer if it hasn't been done in stop | |
Protected Attributes inherited from ditto::Observer | |
| bool | stopped |
| Track if the Observer has already been stopped so we don't stop it twice when destroying the object. | |
While Subscription objects remain in scope they ensure that documents in the collection specified, and that match the query provided, will try to be kept up-to-date with the latest changes from remote peers.
| std::string ditto::Subscription::collection_name |
The name of the collection that the subscription is relevant to.
| std::string ditto::Subscription::query |
The query being used for this Subscription.