Ditto 4.1.0
|
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...
#include <Subscription.hpp>
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. | |
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 | |
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
.