MongoDB C++ Driver 4.2.0
Loading...
Searching...
No Matches
mongocxx::v1::events::server_closed Class Reference

#include <mongocxx/v1/events/server_closed.hpp>

Description

ServerClosedEvent from the SDAM Logging and Monitoring specification.

See also
Attention
This feature is experimental! It is not ready for use!

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.

Member Function Documentation

◆ host()

bsoncxx::v1::stdx::string_view mongocxx::v1::events::server_closed::host ( ) const

Return the hostname for the connection used by the command.

◆ port()

std::uint16_t mongocxx::v1::events::server_closed::port ( ) const

Return the port number for the connection used by the command.

◆ topology_id()

bsoncxx::v1::oid mongocxx::v1::events::server_closed::topology_id ( ) const

Return the client-generated unique topology ID.


The documentation for this class was generated from the following file: