MessageEndpointDelegate
public protocol MessageEndpointDelegate : AnyObject
The stream oriented transportation; the
replicator will apply framing to each message.
ENTERPRISE EDITION ONLY.
A delegate used by the replicator to create MessageEndpointConnection objects.
-
Creates an object of type MessageEndpointConnection 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
Swift
func createConnection(endpoint: MessageEndpoint) -> MessageEndpointConnection
Parameters
endpoint
The endpoint object.
Return Value
The CBLMessageEndpointConnection object.