#include <mongocxx/v1/events/server_closed.hpp>
ServerClosedEvent from the SDAM Logging and Monitoring specification.
Public Member Functions | |
| 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::oid | topology_id () const |
| Return the client-generated unique topology ID. | |
| bsoncxx::v1::stdx::string_view mongocxx::v1::events::server_closed::host | ( | ) | const |
Return the hostname for the connection used by the command.
| std::uint16_t mongocxx::v1::events::server_closed::port | ( | ) | const |
Return the port number for the connection used by the command.
| bsoncxx::v1::oid mongocxx::v1::events::server_closed::topology_id | ( | ) | const |
Return the client-generated unique topology ID.