CBLMessageEndpointDelegate

@protocol CBLMessageEndpointDelegate

A delegate used by the replicator to create CBLMessageEndpointConnection objects.

  • Creates an object of type CBLMessageEndpointConnection protocol. An application implements the CBLMessageEndpointConnection protocol using a custom transportation method such as using the MultipeerConnectivity framework to exchange replication data with the endpoint.

    Declaration

    Objective-C

    - (nonnull id<CBLMessageEndpointConnection>)createConnectionForEndpoint:
        (nonnull CBLMessageEndpoint *)endpoint;

    Parameters

    endpoint

    The endpoint object.

    Return Value

    The CBLMessageEndpointConnection object.