Package com.couchbase.lite
Class PeerReplicatorStatus
java.lang.Object
com.couchbase.lite.PeerReplicatorStatus
The replicator’s status for a peer.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
A listener for peer replicator status. -
Method Summary
Modifier and TypeMethodDescriptionThe associated peer.Replicator status and progress.boolean
A flag indicating the direction of the replication.
-
Method Details
-
getPeerId
The associated peer.- Returns:
- The peer ID.
-
isOutgoing
public boolean isOutgoing()A flag indicating the direction of the replication.- Returns:
- true if the replicator is outgoing (i.e. initiated the outgoing connection) , false otherwise (i.e. accepted the incoming connection).
-
getStatus
Replicator status and progress.- Returns:
- The replicator status.
-