ServerDescriptionChangedEvent
public struct ServerDescriptionChangedEvent : MongoSwiftEvent
Published when a server description changes. This does NOT include changes to the server’s roundTripTime property.
-
The connection ID (host/port pair) of the server.
Declaration
Swift
public let serverAddress: ServerAddress -
A unique identifier for the topology.
Declaration
Swift
public let topologyID: BSONObjectID -
The previous server description.
Declaration
Swift
public let previousDescription: ServerDescription -
The new server description.
Declaration
Swift
public let newDescription: ServerDescription
View on GitHub
Install in Dash
ServerDescriptionChangedEvent Structure Reference