MongoDB C++ Driver 4.2.0
Loading...
Searching...
No Matches
mongocxx::v_noabi::events::topology_closed_event Class Reference

#include <mongocxx/v_noabi/mongocxx/events/topology_closed_event.hpp>

Description

The closing of connections to a topology of shutdown MongoDB servers.

See also

Public Member Functions

 topology_closed_event (v1::events::topology_closed const &event)
 Construct with the mongocxx::v1 equivalent.
 topology_closed_event (void const *event)
 operator v1::events::topology_closed () const
 Convert to the mongocxx::v1 equivalent.
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.

Constructor & Destructor Documentation

◆ topology_closed_event() [1/2]

mongocxx::v_noabi::events::topology_closed_event::topology_closed_event ( void const * event)
explicit
Deprecated
For internal use only.

◆ topology_closed_event() [2/2]

mongocxx::v_noabi::events::topology_closed_event::topology_closed_event ( v1::events::topology_closed const & event)
inline

Construct with the mongocxx::v1 equivalent.

Member Function Documentation

◆ operator v1::events::topology_closed()

mongocxx::v_noabi::events::topology_closed_event::operator v1::events::topology_closed ( ) const
inlineexplicit

Convert to the mongocxx::v1 equivalent.

◆ topology_id()

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

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: