19 #include <bsoncxx/oid.hpp>
20 #include <bsoncxx/stdx/string_view.hpp>
22 #include <mongocxx/config/prelude.hpp>
25 inline namespace v_noabi {
49 bsoncxx::stdx::string_view
host()
const;
56 std::uint16_t
port()
const;
73 #include <mongocxx/config/postlude.hpp>
Represents a MongoDB ObjectId.
Definition: oid.hpp:37
An event notification sent when the driver stops monitoring a MongoDB server and removes it from the ...
Definition: server_closed_event.hpp:35
std::uint16_t port() const
Returns the server port.
~server_closed_event()
Destroys a server_closed_event.
bsoncxx::stdx::string_view host() const
Returns the server host name.
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