17#include <bsoncxx/oid.hpp>
18#include <mongocxx/events/topology_description.hpp>
20#include <mongocxx/config/prelude.hpp>
23MONGOCXX_INLINE_NAMESPACE_BEGIN
69MONGOCXX_INLINE_NAMESPACE_END
72#include <mongocxx/config/postlude.hpp>
Represents a MongoDB ObjectId.
Definition oid.hpp:38
An event notification sent when the driver observes a change in any of the servers it is connected to...
Definition topology_changed_event.hpp:34
bsoncxx::oid topology_id() const
An opaque id, unique to this topology for this mongocxx::client or mongocxx::pool.
~topology_changed_event()
Destroys a topology_changed_event.
topology_description previous_description() const
The server's description before it changed.
topology_description new_description() const
The server's description after it changed.
Class representing what the driver knows about a topology of MongoDB servers: either a standalone,...
Definition topology_description.hpp:36
Top level namespace for the MongoDB C++ driver.
Definition bulk_write.hpp:24