MongoDB C++ Driver mongocxx-3.10.1
Loading...
Searching...
No Matches
Public Member Functions | List of all members
mongocxx::v_noabi::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::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 initializes a server topology.

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