Package com.couchbase.lite
Interface MessageEndpointDelegate
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
ENTERPRISE EDITION API
A delegate used by the replicator to create MessageEndpointConnection objects.
-
Method Summary
Modifier and TypeMethodDescriptioncreateConnection
(MessageEndpoint endpoint) Creates an object of type MessageEndpointConnection interface.
-
Method Details
-
createConnection
Creates an object of type MessageEndpointConnection interface. An application implements the MessageEndpointConnection interface using a custom transportation method such as using the NearbyConnection API to exchange replication data with the endpoint.- Parameters:
endpoint
- the endpoint object- Returns:
- the MessageEndpointConnection object
-