MongoDB C++ Driver 4.1.0
|
#include <mongocxx/v_noabi/mongocxx/events/server_opening_event.hpp>
The addition of a new MongoDB server to the topology description.
Public Member Functions | |
~server_opening_event () | |
Destroys a server_opening_event. | |
bsoncxx::v_noabi::stdx::string_view | host () const |
Returns the server host name. | |
std::uint16_t | port () const |
Returns the server port. | |
bsoncxx::v_noabi::oid const | 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_opening_event::~server_opening_event | ( | ) |
Destroys a server_opening_event.
bsoncxx::v_noabi::stdx::string_view mongocxx::v_noabi::events::server_opening_event::host | ( | ) | const |
Returns the server host name.
std::uint16_t mongocxx::v_noabi::events::server_opening_event::port | ( | ) | const |
Returns the server port.
bsoncxx::v_noabi::oid const mongocxx::v_noabi::events::server_opening_event::topology_id | ( | ) | const |
An opaque id, unique to this topology for this mongocxx::v_noabi::client or mongocxx::v_noabi::pool.