MessageEndpointListenerConfiguration
public class MessageEndpointListenerConfigurationENTERPRISE EDITION ONLY.
Configuration for MessageEndpointListener
- 
                  
                  The local database. DeclarationSwift @available(*, deprecated, message: "Use collection instead.") public let database: Database
- 
                  
                  The data transmission protocol type. DeclarationSwift public let protocolType: ProtocolType
- 
                  
                  The collections that will be available for replication. When the init(database: protocolType:) is used, the property will contain the default collection. DeclarationSwift public let collections: [Collection]
- 
                  
                  Init with the database object to make the default collection available for the replication. DeclarationSwift @available(*, deprecated, message: "Use init(collection:protocolType:﹚ instead.") public init(database: Database, protocolType: ProtocolType)ParametersdatabaseThe local database. protocolTypeThe data transmission protocol type. 
- 
                  
                  Init with the collections that will be available for replication. The specified collections must contain at least one collection, otherwise an Invalid Argument Exception will be thrown. All of the collections must belong to the same database, otherwise an Invalid Argument Exception will be thrown. If one of the collections is removed during the replication, the listener would be stopped, and the connections to the connected clients would be closed with an error - Need to sync the behavior and error code with SG. DeclarationSwift public init(collections: [Collection], protocolType: ProtocolType)
 MessageEndpointListenerConfiguration Class Reference
        MessageEndpointListenerConfiguration Class Reference