ReplicatorConnection

ENTERPRISE EDITION API

The replicator connection used by the application to tell the replicator to consume the data received from the other peer or to close the connection.

Functions

Link copied to clipboard
abstract fun close(error: MessagingError?)

Tells the replicator to close the current replicator connection. In return, the replicator will call the MessageEndpointConnection's close(error, completion) to acknowledge the closed connection.

Link copied to clipboard
abstract fun receive(message: Message)

Tells the replicator to consume the data received from the other peer.