CBLMessageEndpointListener
@interface CBLMessageEndpointListener : NSObjectThe listener for incoming message endpoint connections.
- 
                  
                  The active connections. DeclarationObjective-C @property (readonly, atomic) NSArray<id<CBLMessageEndpointConnection>> *_Nonnull connections;
- 
                  
                  Initializes the CBLMessageEndpointListener object with the given configuration. DeclarationObjective-C - (nonnull instancetype)initWithConfig: (nonnull CBLMessageEndpointListenerConfiguration *)config;Swift init(config: CBLMessageEndpointListenerConfiguration)ParametersconfigThe configuration object. Return ValueThe CBLMessageEndpointListener object. 
- 
                  
                  Accepts the incoming message endpoint connection. DeclarationObjective-C - (void)accept:(nonnull id<CBLMessageEndpointConnection>)connection;ParametersconnectionThe CBLMessageEndpointConnection object. 
- 
                  
                  Closes the given message endpoint connection. DeclarationObjective-C - (void)close:(nonnull id<CBLMessageEndpointConnection>)connection;ParametersconnectionThe CBLMessageEndpointConnection object 
- 
                  
                  Closes all active connections. DeclarationObjective-C - (void)closeAll;Swift func closeAll()
- 
                  
                  Adds a change listener. Changes will be posted on the main queue. DeclarationObjective-C - (nonnull id<CBLListenerToken>)addChangeListener: (nonnull void (^)(CBLMessageEndpointListenerChange *_Nonnull))listener;ParameterslistenerThe listener to post the changes. Return ValueAn opaque listener token object for removing the listener. 
- 
                  
                  Adds a change listener with the dispatch queue on which changes will be posted. If the dispatch queue is not specified, the changes will be posted on the main queue. DeclarationObjective-C - (nonnull id<CBLListenerToken>) addChangeListenerWithQueue:(nullable dispatch_queue_t)queue listener: (nonnull void (^)( CBLMessageEndpointListenerChange *_Nonnull))listener;ParametersqueueThe dispatch queue. listenerThe listener to post changes. Return ValueAn opaque listener token object for removing the listener. 
- 
                  
                  Removes a change listener with the given listener token. DeclarationObjective-C - (void)removeChangeListenerWithToken:(nonnull id<CBLListenerToken>)token;ParameterstokenThe listener token. 
- 
                  
                  Not available DeclarationObjective-C - (nonnull instancetype)init;
 CBLMessageEndpointListener Class Reference
        CBLMessageEndpointListener Class Reference