MongoDB C++ Driver
mongocxx-3.6.2
|
17 #include <bsoncxx/stdx/string_view.hpp>
19 #include <mongocxx/config/prelude.hpp>
22 MONGOCXX_INLINE_NAMESPACE_BEGIN
61 bsoncxx::stdx::string_view
host()
const;
68 std::uint16_t
port()
const;
78 const void* _failed_event;
82 MONGOCXX_INLINE_NAMESPACE_END
85 #include <mongocxx/config/postlude.hpp>
Top level namespace for the MongoDB C++ driver.
Definition: bulk_write.hpp:24
An event notification sent when the driver failed to send an "isMaster" command to check the status o...
Definition: heartbeat_failed_event.hpp:33
~heartbeat_failed_event()
Destroys a heartbeat_failed_event.
std::int64_t duration() const
Returns the duration of the failed operation.
std::string message() const
Returns the failed operation's error message.
std::uint16_t port() const
Returns the port.
bool awaited() const
Returns a boolean indicating whether this heartbeat event is from an awaitable isMaster.
bsoncxx::stdx::string_view host() const
Returns the host name.