19#include <bsoncxx/oid.hpp>
21#include <mongocxx/config/prelude.hpp>
24MONGOCXX_INLINE_NAMESPACE_BEGIN
49 bsoncxx::stdx::string_view
host()
const;
56 std::uint16_t
port()
const;
70MONGOCXX_INLINE_NAMESPACE_END
73#include <mongocxx/config/postlude.hpp>
Represents a MongoDB ObjectId.
Definition oid.hpp:38
An event notification sent when the driver adds a MongoDB server to the topology description and begi...
Definition server_opening_event.hpp:35
std::uint16_t port() const
Returns the server port.
const bsoncxx::oid topology_id() const
An opaque id, unique to this topology for this mongocxx::client or mongocxx::pool.
bsoncxx::stdx::string_view host() const
Returns the server host name.
~server_opening_event()
Destroys a server_opening_event.
Top level namespace for the MongoDB C++ driver.
Definition bulk_write.hpp:24