using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DSInternals.Replication.Model { /// /// The ReplicationCursor class represents a replication operation occurrence. /// public class ReplicationCursor { public ReplicationCursor(Guid invocationId, long highestUsn) { this.UpToDatenessUsn = highestUsn; this.SourceInvocationId = invocationId; } /// /// Gets or sets the invocation identifier of the replication source server. /// public Guid SourceInvocationId { get; protected set; } /// /// Gets or sets the maximum update sequence number (USN) /// for which the destination server has accepted changes from the source server. /// public long UpToDatenessUsn { get; protected set; } public override string ToString() { return String.Format("{0}: {1}", this.SourceInvocationId, this.UpToDatenessUsn); } } }