17 #include <bsoncxx/document/view.hpp>
18 #include <bsoncxx/stdx/string_view.hpp>
20 #include <mongocxx/config/prelude.hpp>
23 inline namespace v_noabi {
47 bsoncxx::document::view
reply()
const;
61 bsoncxx::stdx::string_view
host()
const;
68 std::uint16_t
port()
const;
78 const void* _succeeded_event;
85 #include <mongocxx/config/postlude.hpp>
An event notification sent when the driver completes a "hello" command to check the status of a serve...
Definition: heartbeat_succeeded_event.hpp:33
~heartbeat_succeeded_event()
Destroys a heartbeat_succeeded_event.
std::int64_t duration() const
Returns the duration of the successful operation.
bool awaited() const
Returns a boolean indicating whether this heartbeat event is from an awaitable hello.
bsoncxx::document::view reply() const
Returns the server reply for the succeeded operation.
std::uint16_t port() const
Returns the port.
bsoncxx::stdx::string_view host() const
Returns the host name.
The top-level namespace for mongocxx library entities.
Definition: bulk_write.hpp:24