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 |
|---|---|
void |
close(MessagingError error)
Tells the replicator to close the current replicator connection.
|
void |
receive(Message message)
Tells the replicator to consume the data received from the other peer.
|
void close(MessagingError error)
error - the error if anyvoid receive(@NonNull
Message message)
message - the message