MongoDB C++ Driver
mongocxx-3.6.2
|
17 #include <bsoncxx/oid.hpp>
19 #include <mongocxx/config/prelude.hpp>
22 MONGOCXX_INLINE_NAMESPACE_BEGIN
47 bsoncxx::stdx::string_view
host()
const;
54 std::uint16_t
port()
const;
68 MONGOCXX_INLINE_NAMESPACE_END
71 #include <mongocxx/config/postlude.hpp>
Top level namespace for the MongoDB C++ driver.
Definition: bulk_write.hpp:24
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.
Represents a MongoDB ObjectId.
Definition: oid.hpp:38
std::uint16_t port() const
Returns the server port.
An event notification sent when the driver adds a MongoDB server to the topology description and begi...
Definition: server_opening_event.hpp:33
~server_opening_event()
Destroys a server_opening_event.