19 #include <bsoncxx/stdx/string_view.hpp>
21 #include <mongocxx/config/prelude.hpp>
24 MONGOCXX_INLINE_NAMESPACE_BEGIN
49 bsoncxx::stdx::string_view
host()
const;
56 std::uint16_t
port()
const;
66 const void* _started_event;
70 MONGOCXX_INLINE_NAMESPACE_END
73 #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:35
~heartbeat_started_event()
Destroys a heartbeat_started_event.
std::uint16_t port() const
Returns the port.
bsoncxx::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.
Top level namespace for the MongoDB C++ driver.
Definition: bulk_write.hpp:24