19 #include <mongocxx/events/heartbeat_started_event-fwd.hpp>
21 #include <bsoncxx/stdx/string_view.hpp>
23 #include <mongocxx/config/prelude.hpp>
50 bsoncxx::v_noabi::stdx::string_view
host()
const;
57 std::uint16_t
port()
const;
67 const void* _started_event;
74 #include <mongocxx/config/postlude.hpp>
An event notification sent when the driver begins executing a "hello" command to check the status of ...
Definition: heartbeat_started_event.hpp:36
std::uint16_t port() const
Returns the port.
~heartbeat_started_event()
Destroys a heartbeat_started_event.
bsoncxx::v_noabi::stdx::string_view host() const
Returns the host name.
bool awaited() const
Returns a boolean indicating whether this heartbeat event is from an awaitable hello.
The top-level namespace for mongocxx library entities.
Definition: bulk_write-fwd.hpp:19