#include <mongocxx/v_noabi/mongocxx/events/heartbeat_failed_event.hpp>
The failed execution of a heartbeat ("hello") command.
- See also
-
◆ heartbeat_failed_event() [1/2]
| mongocxx::v_noabi::events::heartbeat_failed_event::heartbeat_failed_event |
( |
void const * | event | ) |
|
|
explicit |
◆ heartbeat_failed_event() [2/2]
◆ awaited()
| bool mongocxx::v_noabi::events::heartbeat_failed_event::awaited |
( |
| ) |
const |
|
inline |
Returns a boolean indicating whether this heartbeat event is from an awaitable hello.
- Returns
- A boolean.
◆ duration()
| std::int64_t mongocxx::v_noabi::events::heartbeat_failed_event::duration |
( |
| ) |
const |
|
inline |
Returns the duration of the failed operation.
- Returns
- The duration in microseconds.
◆ host()
Returns the host name.
- Returns
- The host name.
◆ message()
| std::string mongocxx::v_noabi::events::heartbeat_failed_event::message |
( |
| ) |
const |
|
inline |
Returns the failed operation's error message.
- Returns
- The message.
◆ operator v1::events::server_heartbeat_failed()
◆ port()
| std::uint16_t mongocxx::v_noabi::events::heartbeat_failed_event::port |
( |
| ) |
const |
|
inline |
Returns the port.
- Returns
- The port.
The documentation for this class was generated from the following file: