MongoDB C++ Driver mongocxx-4.0.0
|
#include <mongocxx/v_noabi/mongocxx/events/heartbeat_started_event.hpp>
An event notification sent when the driver begins executing a "hello" command to check the status of a server.
Public Member Functions | |
~heartbeat_started_event () | |
Destroys a heartbeat_started_event. | |
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. | |
mongocxx::v_noabi::events::heartbeat_started_event::~heartbeat_started_event | ( | ) |
Destroys a heartbeat_started_event.
bool mongocxx::v_noabi::events::heartbeat_started_event::awaited | ( | ) | const |
Returns a boolean indicating whether this heartbeat event is from an awaitable hello.
bsoncxx::v_noabi::stdx::string_view mongocxx::v_noabi::events::heartbeat_started_event::host | ( | ) | const |
Returns the host name.
std::uint16_t mongocxx::v_noabi::events::heartbeat_started_event::port | ( | ) | const |
Returns the port.