19 #include <bsoncxx/oid.hpp>
21 #include <mongocxx/config/prelude.hpp>
24 inline namespace v_noabi {
48 bsoncxx::stdx::string_view
host()
const;
55 std::uint16_t
port()
const;
72 #include <mongocxx/config/postlude.hpp>
Represents a MongoDB ObjectId.
Definition: oid.hpp:37
An event notification sent when the driver adds a MongoDB server to the topology description and begi...
Definition: server_opening_event.hpp:34
bsoncxx::stdx::string_view host() const
Returns the server host name.
std::uint16_t port() const
Returns the server port.
~server_opening_event()
Destroys a server_opening_event.
const bsoncxx::oid topology_id() const
An opaque id, unique to this topology for this mongocxx::client or mongocxx::pool.
The top-level namespace for mongocxx library entities.
Definition: bulk_write.hpp:24