Server Discovery and Monitoring (SDAM) Monitoring
-
An SDAM monitoring event related to topology updates.
See moreDeclaration
Swift
public enum SDAMEvent : Publishable
-
A protocol for handlers of events relating to SDAM to implement.
See moreDeclaration
Swift
public protocol SDAMEventHandler : AnyObject
-
Published when a server is initialized.
See moreDeclaration
Swift
public struct ServerOpeningEvent : MongoSwiftEvent
-
Published when a server is closed.
See moreDeclaration
Swift
public struct ServerClosedEvent : MongoSwiftEvent
-
A struct representing a network address, consisting of a host and port.
See moreDeclaration
Swift
public struct ServerAddress : Equatable, Hashable
extension ServerAddress: CustomStringConvertible
-
A struct describing a mongod or mongos process.
See moreDeclaration
Swift
public struct ServerDescription
extension ServerDescription: Equatable
-
Published when a server description changes. This does NOT include changes to the server’s roundTripTime property.
See moreDeclaration
Swift
public struct ServerDescriptionChangedEvent : MongoSwiftEvent
-
Published when the server monitor’s “hello” command is started - immediately before the “hello” command is serialized into raw BSON and written to the socket.
See moreDeclaration
Swift
public struct ServerHeartbeatStartedEvent : MongoSwiftEvent
-
Published when the server monitor’s “hello” command fails, either with an “ok: 0” or a socket exception.
See moreDeclaration
Swift
public struct ServerHeartbeatFailedEvent : MongoSwiftEvent
-
Published when the server monitor’s “hello” command succeeds.
See moreDeclaration
Swift
public struct ServerHeartbeatSucceededEvent : MongoSwiftEvent
-
Published when a topology is initialized.
See moreDeclaration
Swift
public struct TopologyOpeningEvent : MongoSwiftEvent
-
Published when a topology is closed.
See moreDeclaration
Swift
public struct TopologyClosedEvent : MongoSwiftEvent
-
Published when a topology description changes.
See moreDeclaration
Swift
public struct TopologyDescriptionChangedEvent : MongoSwiftEvent
-
A struct describing the state of a MongoDB deployment: its type (standalone, replica set, or sharded), which servers are up, what type of servers they are, which is primary, and so on.
See moreDeclaration
Swift
public struct TopologyDescription : Equatable