#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 (v1::events::server_opening const &event) | |
| Construct with the mongocxx::v1 equivalent. | |
| server_opening_event (void const *event) | |
| bsoncxx::v_noabi::stdx::string_view | host () const |
| Returns the server host name. | |
| operator v1::events::server_opening () const | |
| Convert to the mongocxx::v1 equivalent. | |
| 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. | |
|
explicit |
|
inline |
Construct with the mongocxx::v1 equivalent.
|
inline |
Returns the server host name.
|
inlineexplicit |
Convert to the mongocxx::v1 equivalent.
|
inline |
Returns the server port.
|
inline |
An opaque id, unique to this topology for this mongocxx::v_noabi::client or mongocxx::v_noabi::pool.