17 #include <bsoncxx/stdx/string_view.hpp>
19 #include <mongocxx/config/prelude.hpp>
22 MONGOCXX_INLINE_NAMESPACE_BEGIN
47 bsoncxx::stdx::string_view
host()
const;
54 std::uint16_t
port()
const;
64 const void* _started_event;
68 MONGOCXX_INLINE_NAMESPACE_END
71 #include <mongocxx/config/postlude.hpp>
An event notification sent when the driver begins executing an "isMaster" command to check the status...
Definition: heartbeat_started_event.hpp:33
~heartbeat_started_event()
Destroys a heartbeat_started_event.
std::uint16_t port() const
Returns the port.
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 isMaster.
Top level namespace for the MongoDB C++ driver.
Definition: bulk_write.hpp:24