17#include <mongocxx/events/topology_changed_event-fwd.hpp>
19#include <bsoncxx/oid.hpp>
20#include <mongocxx/events/topology_description.hpp>
22#include <mongocxx/config/prelude.hpp>
74#include <mongocxx/config/postlude.hpp>
Represents a MongoDB ObjectId.
Definition oid.hpp:40
An event notification sent when the driver observes a change in any of the servers it is connected to...
Definition topology_changed_event.hpp:35
topology_description new_description() const
The server's description after it changed.
~topology_changed_event()
Destroys a topology_changed_event.
bsoncxx::v_noabi::oid topology_id() const
An opaque id, unique to this topology for this mongocxx::v_noabi::client or mongocxx::v_noabi::pool.
topology_description previous_description() const
The server's description before it changed.
Class representing what the driver knows about a topology of MongoDB servers: either a standalone,...
Definition topology_description.hpp:37
The top-level namespace for mongocxx library entities.
Definition bulk_write-fwd.hpp:19