MongoDB C++ Driver mongocxx-3.10.1
Loading...
Searching...
No Matches
Public Member Functions | List of all members
mongocxx::v_noabi::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::v_noabi::oid topology_id () const
 An opaque id, unique to this topology for this mongocxx::v_noabi::client or mongocxx::v_noabi::pool.
 

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.rst

Member Function Documentation

◆ topology_id()

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

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

Returns
The id.

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