76 std::uint16_t
port()
const {
87 return _event.topology_id();
A polyfill for std::string_view.
Definition string_view.hpp:412
Represents a MongoDB BSON ObjectId.
Definition oid.hpp:41
server_opening_event(void const *event)
ServerOpeningEvent from the SDAM Logging and Monitoring specification.
Definition server_opening.hpp:43
The addition of a new MongoDB server to the topology description.
Definition server_opening_event.hpp:40
std::uint16_t port() const
Returns the server port.
Definition server_opening_event.hpp:76
server_opening_event(void const *event)
bsoncxx::v_noabi::stdx::string_view host() const
Returns the server host name.
Definition server_opening_event.hpp:67
server_opening_event(v1::events::server_opening const &event)
Construct with the mongocxx::v1 equivalent.
Definition server_opening_event.hpp:53
bsoncxx::v_noabi::oid const topology_id() const
An opaque id, unique to this topology for this mongocxx::v_noabi::client or mongocxx::v_noabi::pool.
Definition server_opening_event.hpp:86
#define MONGOCXX_ABI_NO_EXPORT
Excludes the associated entity from being part of the ABI.
Definition export.hpp:20
The mongocxx v_noabi macro guard postlude header.
The mongocxx v_noabi macro guard prelude header.
Declares entities describing APM events.
Declares entities whose ABI stability is NOT guaranteed.
v1::bulk_write to_v1(v_noabi::bulk_write v)
Convert to the mongocxx::v1 equivalent of v.
Definition bulk_write.hpp:162
v_noabi::bulk_write from_v1(v1::bulk_write v)
Convert to the mongocxx::v_noabi equivalent of v.
Definition bulk_write.hpp:155
The top-level namespace within which all mongocxx library entities are declared.
Provides mongocxx::v1::events::server_opening.
Declares mongocxx::v_noabi::events::server_opening_event.
Provides bsoncxx::v_noabi::oid.
Provides std::string_view-related polyfills for library API usage.