MongoDB C++ Driver mongocxx-4.0.0
|
#include <mongocxx/v_noabi/mongocxx/events/topology_changed_event.hpp>
An event notification sent when the driver observes a change in any of the servers it is connected to or a change in the overall server topology.
Public Member Functions | |
~topology_changed_event () | |
Destroys a topology_changed_event. | |
topology_description | new_description () const |
The server's description after it changed. | |
topology_description | previous_description () const |
The server's description before it changed. | |
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. | |
mongocxx::v_noabi::events::topology_changed_event::~topology_changed_event | ( | ) |
Destroys a topology_changed_event.
topology_description mongocxx::v_noabi::events::topology_changed_event::new_description | ( | ) | const |
The server's description after it changed.
topology_description mongocxx::v_noabi::events::topology_changed_event::previous_description | ( | ) | const |
The server's description before it changed.
bsoncxx::v_noabi::oid mongocxx::v_noabi::events::topology_changed_event::topology_id | ( | ) | const |
An opaque id, unique to this topology for this mongocxx::v_noabi::client or mongocxx::v_noabi::pool.