MongoDB C++ Driver mongocxx-4.0.0
|
#include <mongocxx/v_noabi/mongocxx/events/server_closed_event.hpp>
An event notification sent when the driver stops monitoring a MongoDB server and removes it from the topology description.
Public Member Functions | |
~server_closed_event () | |
Destroys a server_closed_event. | |
bsoncxx::v_noabi::stdx::string_view | host () const |
Returns the server host name. | |
std::uint16_t | port () const |
Returns the server port. | |
const 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. | |
mongocxx::v_noabi::events::server_closed_event::~server_closed_event | ( | ) |
Destroys a server_closed_event.
bsoncxx::v_noabi::stdx::string_view mongocxx::v_noabi::events::server_closed_event::host | ( | ) | const |
Returns the server host name.
std::uint16_t mongocxx::v_noabi::events::server_closed_event::port | ( | ) | const |
Returns the server port.
const bsoncxx::v_noabi::oid mongocxx::v_noabi::events::server_closed_event::topology_id | ( | ) | const |
An opaque id, unique to this topology for this mongocxx::v_noabi::client or mongocxx::v_noabi::pool.