19 #include <bsoncxx/stdx/string_view.hpp>
21 #include <mongocxx/config/prelude.hpp>
24 inline namespace v_noabi {
62 bsoncxx::stdx::string_view
host()
const;
69 std::uint16_t
port()
const;
79 const void* _failed_event;
86 #include <mongocxx/config/postlude.hpp>
An event notification sent when the driver failed to send an "hello" command to check the status of a...
Definition: heartbeat_failed_event.hpp:34
std::int64_t duration() const
Returns the duration of the failed operation.
std::string message() const
Returns the failed operation's error message.
~heartbeat_failed_event()
Destroys a heartbeat_failed_event.
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.
std::uint16_t port() const
Returns the port.
The top-level namespace for mongocxx library entities.
Definition: bulk_write.hpp:24