MongoDB C++ Driver
mongocxx-3.6.2
|
17 #include <bsoncxx/document/view.hpp>
18 #include <bsoncxx/stdx/string_view.hpp>
20 #include <mongocxx/config/prelude.hpp>
23 MONGOCXX_INLINE_NAMESPACE_BEGIN
62 bsoncxx::stdx::string_view
host()
const;
69 std::uint16_t
port()
const;
79 const void* _succeeded_event;
83 MONGOCXX_INLINE_NAMESPACE_END
86 #include <mongocxx/config/postlude.hpp>
Top level namespace for the MongoDB C++ driver.
Definition: bulk_write.hpp:24
~heartbeat_succeeded_event()
Destroys a heartbeat_succeeded_event.
bsoncxx::document::view reply() const
Returns the server reply for the succeeded operation.
std::uint16_t port() const
Returns the port.
bool awaited() const
Returns a boolean indicating whether this heartbeat event is from an awaitable isMaster.
An event notification sent when the driver completes an "isMaster" command to check the status of a s...
Definition: heartbeat_succeeded_event.hpp:34
std::int64_t duration() const
Returns the duration of the successful operation.
bsoncxx::stdx::string_view host() const
Returns the host name.
A read-only, non-owning view of a BSON document.
Definition: view.hpp:33