Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

MongoSwiftSync 1.3.0 Docs (100% documented)

GitHub View on GitHub

Dash Install in Dash

MongoSwiftSync Reference ServerClosedEvent Structure Reference

  • General Guides
    • Development
    • Multithreaded-Usage
    • BSON-Guide
    • JSON-Interop
    • Codable-Guide
    • BSON-Migration-Guide
  • Core Types
    • MongoClient
    • MongoClientOptions
    • MongoDatabase
    • MongoDatabaseOptions
    • MongoCollection
    • MongoCollectionOptions
  • BSON Types
    • BSON
    • BSONType
    • BSONBinary
    • – Subtype
    • BSONCode
    • BSONCodeWithScope
    • BSONDBPointer
    • BSONDecimal128
    • BSONDocument
    • BSONObjectID
    • BSONRegularExpression
    • BSONSymbol
    • BSONTimestamp
  • Replica Set & Sharded Cluster-Related Settings
    • ReadConcern
    • ReadPreference
    • – Mode
    • WriteConcern
    • – W
  • Authentication & TLS
    • TLS-Guide
    • MongoCredential
    • – Mechanism
  • Reading Data
    • CountDocumentsOptions
    • DistinctOptions
    • EstimatedDocumentCountOptions
    • FindOneOptions
    • FindOptions
    • AggregateOptions
    • IndexHint
  • Cursors
    • MongoCursor
    • MongoCursorType
  • Writing Data
    • InsertOneOptions
    • InsertOneResult
    • InsertManyOptions
    • InsertManyResult
    • ReplaceOptions
    • UpdateOptions
    • UpdateResult
    • DeleteOptions
    • DeleteResult
    • FindOneAndDeleteOptions
    • FindOneAndReplaceOptions
    • FindOneAndUpdateOptions
    • ReturnDocument
  • Bulk Writes
    • BulkWriteOptions
    • BulkWriteResult
    • WriteModel
    • UpdateModelOptions
    • DeleteModelOptions
    • ReplaceOneModelOptions
  • Errors
    • Error-Handling-Guide
    • MongoErrorProtocol
    • MongoLabeledError
    • MongoRuntimeError
    • MongoServerError
    • MongoUserError
    • MongoError
    • – CommandError
    • – WriteError
    • – BulkWriteError
    • – LogicError
    • – InvalidArgumentError
    • – InternalError
    • – ConnectionError
    • – AuthenticationError
    • – CompatibilityError
    • – ServerSelectionError
    • – WriteFailure
    • – WriteConcernFailure
    • – BulkWriteFailure
    • BSONError
    • – InvalidArgumentError
    • – InternalError
    • – LogicError
    • – DocumentTooLargeError
    • BSONErrorProtocol
  • Encoding and Decoding BSON
    • BSONEncoder
    • – DateEncodingStrategy
    • – UUIDEncodingStrategy
    • – DataEncodingStrategy
    • BSONDecoder
    • – DateDecodingStrategy
    • – UUIDDecodingStrategy
    • – DataDecodingStrategy
    • DataCodingStrategy
    • DateCodingStrategy
    • UUIDCodingStrategy
    • CodingStrategyProvider
    • BSONCoderOptions
  • Change Streams
    • Change-Streams-Guide
    • ChangeStream
    • ChangeStreamEvent
    • ChangeStreamOptions
    • OperationType
    • ResumeToken
    • FullDocument
    • UpdateDescription
    • – TruncatedArrayDescription
  • Index Management
    • IndexModel
    • IndexOptions
    • CreateIndexOptions
    • DropIndexOptions
  • Database/Collection Management
    • DatabaseSpecification
    • ListDatabasesOptions
    • DropDatabaseOptions
    • CollectionSpecification
    • CollectionSpecificationInfo
    • ListCollectionsOptions
    • CollectionType
    • CreateCollectionOptions
    • DropCollectionOptions
    • RenameCollectionOptions
  • Sessions & Transactions
    • Transactions-Guide
    • ClientSession
    • ClientSessionOptions
    • TransactionOptions
  • Command Monitoring
    • CommandEvent
    • CommandEventHandler
    • CommandStartedEvent
    • CommandSucceededEvent
    • CommandFailedEvent
  • Server Discovery and Monitoring (SDAM) Monitoring
    • SDAMEvent
    • SDAMEventHandler
    • ServerOpeningEvent
    • ServerClosedEvent
    • ServerAddress
    • ServerDescription
    • – ServerType
    • ServerDescriptionChangedEvent
    • ServerHeartbeatStartedEvent
    • ServerHeartbeatFailedEvent
    • ServerHeartbeatSucceededEvent
    • TopologyOpeningEvent
    • TopologyClosedEvent
    • TopologyDescriptionChangedEvent
    • TopologyDescription
    • – TopologyType
  • Other Classes
    • ExtendedJSONDecoder
    • ExtendedJSONEncoder
    • – Format
  • Other Extensions
    • BSONValue
    • JSON
  • Other Functions
    • cleanupMongoSwift()
  • Other Structures
    • Compressor
    • MongoConnectionString
    • – Scheme
    • – HostIdentifier
    • MongoNamespace
    • MongoServerAPI
    • – Version
    • RunCommandOptions
    • TimeseriesOptions
    • – Granularity

ServerClosedEvent

public struct ServerClosedEvent : MongoSwiftEvent

Published when a server is closed.

Show on GitHub
  • serverAddress

    The connection ID (host/port pair) of the server.

    Declaration

    Swift

    public let serverAddress: ServerAddress
    Show on GitHub
  • topologyID

    A unique identifier for the topology.

    Declaration

    Swift

    public let topologyID: BSONObjectID
    Show on GitHub

© 2022 Matt Broadstone, Kaitlin Mahar, and Patrick Freed. All rights reserved. (Last updated: 2022-05-03)

Generated by jazzy ♪♫ v0.14.1, a Realm project.