CBLMessageEndpointListenerConfiguration
@interface CBLMessageEndpointListenerConfiguration : NSObject
ENTERPRISE EDITION ONLY.
The configuration for the CBLMessageEndpointListener.
-
The data transmission protocol type.
Declaration
Objective-C
@property (nonatomic) int protocolType; -
The collections that will be available for replication.
Declaration
Objective-C
@property (nonatomic, readonly) NSArray *_Nonnull collections; -
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.
Declaration
Objective-C
- (nonnull instancetype)initWithCollections:(nonnull NSArray *)collections protocolType:(id)protocolType; -
Unavailable
Not available
Declaration
Objective-C
- (nonnull instancetype)init;
CBLMessageEndpointListenerConfiguration Class Reference