Package com.couchbase.lite
Interface ReplicatorConnection
public interface ReplicatorConnection
ENTERPRISE EDITION API
The connection passed to an application using a custom transportation method, when a MessageEndpointConnection is opened, to represent the replicator's side of the connection.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose(MessagingError error) Tells the replicator to close the current connection.voidTells the replicator to consume the data received from the other peer.
-
Method Details
-
close
Tells the replicator to close the current connection. The replicator will callMessageEndpointConnection.close(Exception, MessagingCloseCompletion)to acknowledge the closed connection.- Parameters:
error- the error if any
-
receive
Tells the replicator to consume the data received from the other peer.- Parameters:
message- the message
-