#include <mongocxx/v_noabi/mongocxx/events/heartbeat_succeeded_event.hpp>
The successful execution of a heartbeat ("hello") command.
- See also
-
◆ heartbeat_succeeded_event() [1/2]
| mongocxx::v_noabi::events::heartbeat_succeeded_event::heartbeat_succeeded_event |
( |
void const * | event | ) |
|
|
explicit |
◆ heartbeat_succeeded_event() [2/2]
◆ awaited()
| bool mongocxx::v_noabi::events::heartbeat_succeeded_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_succeeded_event::duration |
( |
| ) |
const |
|
inline |
Returns the duration of the successful operation.
- Returns
- The duration in microseconds.
◆ host()
Returns the host name.
- Returns
- The host name.
◆ operator v1::events::server_heartbeat_succeeded()
◆ port()
| std::uint16_t mongocxx::v_noabi::events::heartbeat_succeeded_event::port |
( |
| ) |
const |
|
inline |
Returns the port.
- Returns
- The port.
◆ reply()
Returns the server reply for the succeeded operation.
- Returns
- The reply.
The documentation for this class was generated from the following file: