MongoDB C++ Driver  mongocxx-3.7.0
Public Member Functions | List of all members
mongocxx::events::topology_closed_event Class Reference

An event notification sent when the driver stops monitoring a server topology and destroys its description. More...

#include <topology_closed_event.hpp>

Public Member Functions

 ~topology_closed_event ()
 Destroys a topology_closed_event.
 
bsoncxx::oid topology_id () const
 An opaque id, unique to this topology for this mongocxx::client or mongocxx::pool. More...
 

Detailed Description

An event notification sent when the driver stops monitoring a server topology and destroys its description.

See also
"TopologyClosedEvent" in https://github.com/mongodb/specifications/blob/master/source/server-discovery-and-monitoring/server-discovery-and-monitoring-monitoring.rst

Member Function Documentation

◆ topology_id()

bsoncxx::oid mongocxx::events::topology_closed_event::topology_id ( ) const

An opaque id, unique to this topology for this mongocxx::client or mongocxx::pool.

Returns
The id.

The documentation for this class was generated from the following file: