MongoDB C++ Driver
mongocxx-3.6.2
|
17 #include <bsoncxx/oid.hpp>
18 #include <bsoncxx/stdx/string_view.hpp>
20 #include <mongocxx/config/prelude.hpp>
23 MONGOCXX_INLINE_NAMESPACE_BEGIN
48 bsoncxx::stdx::string_view
host()
const;
55 std::uint16_t
port()
const;
69 MONGOCXX_INLINE_NAMESPACE_END
72 #include <mongocxx/config/postlude.hpp>
bsoncxx::stdx::string_view host() const
Returns the server host name.
Top level namespace for the MongoDB C++ driver.
Definition: bulk_write.hpp:24
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.
Represents a MongoDB ObjectId.
Definition: oid.hpp:38
An event notification sent when the driver stops monitoring a MongoDB server and removes it from the ...
Definition: server_closed_event.hpp:34
~server_closed_event()
Destroys a server_closed_event.