69 return _event.topology_id();
78 return _event.previous_description();
87 return _event.new_description();
Represents a MongoDB BSON ObjectId.
Definition oid.hpp:41
topology_changed_event(void const *event)
TopologyDescriptionChangedEvent from the SDAM Logging and Monitoring specification.
Definition topology_description_changed.hpp:41
A change in the topology description (including its server descriptions).
Definition topology_changed_event.hpp:39
topology_changed_event(v1::events::topology_description_changed const &event)
Construct with the mongocxx::v1 equivalent.
Definition topology_changed_event.hpp:52
topology_changed_event(void const *event)
topology_description new_description() const
The server's description after it changed.
Definition topology_changed_event.hpp:86
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.
Definition topology_changed_event.hpp:68
topology_description previous_description() const
The server's description before it changed.
Definition topology_changed_event.hpp:77
A description of the topology of one or more connected MongoDB servers.
Definition topology_description.hpp:43
#define MONGOCXX_ABI_NO_EXPORT
Excludes the associated entity from being part of the ABI.
Definition export.hpp:20
The mongocxx v_noabi macro guard postlude header.
The mongocxx v_noabi macro guard prelude header.
Declares entities describing APM events.
Declares entities whose ABI stability is NOT guaranteed.
v1::bulk_write to_v1(v_noabi::bulk_write v)
Convert to the mongocxx::v1 equivalent of v.
Definition bulk_write.hpp:162
v_noabi::bulk_write from_v1(v1::bulk_write v)
Convert to the mongocxx::v_noabi equivalent of v.
Definition bulk_write.hpp:155
The top-level namespace within which all mongocxx library entities are declared.
Declares mongocxx::v_noabi::events::topology_changed_event.
Provides mongocxx::v1::events::topology_description_changed.
Provides bsoncxx::v_noabi::oid.
Provides mongocxx::v_noabi::events::topology_description.