CBLMessageEndpointListenerConfiguration
@interface CBLMessageEndpointListenerConfiguration : NSObject
ENTERPRISE EDITION ONLY.
The configuration for the CBLMessageEndpointListener.
-
The local database.
Declaration
Objective-C
@property (readonly, nonatomic) CBLDatabase *_Nonnull database;
Swift
var database: CBLDatabase { get }
-
The data transmission protocol type.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) CBLProtocolType protocolType;
Swift
var protocolType: CBLProtocolType { get set }
-
Initializes a CBLMessageEndpointListenerConfiguration object.
Declaration
Objective-C
- (nonnull instancetype)initWithDatabase:(nonnull CBLDatabase *)database protocolType:(CBLProtocolType)protocolType;
Swift
init(database: CBLDatabase, protocolType: CBLProtocolType)
Parameters
database
The local database.
protocolType
The data transmission protocol type.
Return Value
The CBLMessageEndpointListenerConfiguration object.
-
Not available
Declaration
Objective-C
- (nonnull instancetype)init;