public interface ReplicatorConnection
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.
|Modifier and Type||Method and Description|
Tells the replicator to close the current replicator connection.
Tells the replicator to consume the data received from the other peer.
void close(MessagingError error)
error- the error if any
void receive(@NonNull Message message)
message- the message