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

An event notification sent when the driver initializes a server topology. More...

#include <topology_opening_event.hpp>

Public Member Functions

 ~topology_opening_event ()
 Destroys a topology_opening_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 initializes a server topology.

See also
"TopologyOpeningEvent" 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_opening_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: