17 #include <mongocxx/events/heartbeat_succeeded_event-fwd.hpp>
19 #include <bsoncxx/document/view.hpp>
20 #include <bsoncxx/stdx/string_view.hpp>
22 #include <mongocxx/config/prelude.hpp>
63 bsoncxx::v_noabi::stdx::string_view
host()
const;
70 std::uint16_t
port()
const;
80 const void* _succeeded_event;
87 #include <mongocxx/config/postlude.hpp>
A read-only, non-owning view of a BSON document.
Definition: view.hpp:35
An event notification sent when the driver completes a "hello" command to check the status of a serve...
Definition: heartbeat_succeeded_event.hpp:35
bsoncxx::v_noabi::document::view reply() const
Returns the server reply for the succeeded operation.
~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::v_noabi::stdx::string_view host() const
Returns the host name.
std::uint16_t port() const
Returns the port.
The top-level namespace for mongocxx library entities.
Definition: bulk_write-fwd.hpp:19