#include <mongocxx/v1/events/server_heartbeat_succeeded.hpp>
ServerHeartbeatSucceededEvent from the SDAM Logging and Monitoring specification.
Public Member Functions | |
| bool | awaited () const |
| Return true when this heartbeat event used the "streaming" protocol (instead of the "polling" protocol). | |
| std::int64_t | duration () const |
| Return the execution time of the event. | |
| bsoncxx::v1::stdx::string_view | host () const |
| Return the hostname for the connection used by the command. | |
| std::uint16_t | port () const |
| Return the port number for the connection used by the command. | |
| bsoncxx::v1::document::view | reply () const |
| Return the command reply. | |
| bool mongocxx::v1::events::server_heartbeat_succeeded::awaited | ( | ) | const |
Return true when this heartbeat event used the "streaming" protocol (instead of the "polling" protocol).
| std::int64_t mongocxx::v1::events::server_heartbeat_succeeded::duration | ( | ) | const |
Return the execution time of the event.
| bsoncxx::v1::stdx::string_view mongocxx::v1::events::server_heartbeat_succeeded::host | ( | ) | const |
Return the hostname for the connection used by the command.
| std::uint16_t mongocxx::v1::events::server_heartbeat_succeeded::port | ( | ) | const |
Return the port number for the connection used by the command.
| bsoncxx::v1::document::view mongocxx::v1::events::server_heartbeat_succeeded::reply | ( | ) | const |
Return the command reply.