CBLMessageEndpointListenerConfiguration
@interface CBLMessageEndpointListenerConfiguration : NSObject
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
databaseThe local database.
protocolTypeThe data transmission protocol type.
Return Value
The CBLMessageEndpointListenerConfiguration object.
-
Not available
Declaration
Objective-C
- (nonnull instancetype)init;
CBLMessageEndpointListenerConfiguration Class Reference