Class ReplicaDeltas
- Namespace
- EsriPBuffer.Graph
- Assembly
- ESRI.Server.SOESupport.dll
public sealed class ReplicaDeltas : IMessage<ReplicaDeltas>, IEquatable<ReplicaDeltas>, IDeepCloneable<ReplicaDeltas>, IBufferMessage, IMessage
- Inheritance
-
ReplicaDeltas
- Implements
-
IMessage<ReplicaDeltas>IDeepCloneable<ReplicaDeltas>IBufferMessageIMessage
- Inherited Members
Constructors
ReplicaDeltas()
public ReplicaDeltas()
ReplicaDeltas(ReplicaDeltas)
public ReplicaDeltas(ReplicaDeltas other)
Parameters
otherReplicaDeltas
Fields
LastSyncDateFieldNumber
Field number for the "last_sync_date" field.
public const int LastSyncDateFieldNumber = 1
Field Value
Properties
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
LastSyncDate
The date the replica was last synced. A new sync_date is sent in the response
of replicas/create and replicas/{replicaId}/synchronize. Clients should persist this value
and use it with the next replicas/{replicaId}/synchronize.
The UTC UNIX timestamp from which to send back changes.
This date is used by the server as the lower bounds (exclusive) to gather edits since the last_sync_date.
(last_sync_date, sync_date] is the range determining the edits sent in the response.
public long LastSyncDate { get; set; }
Property Value
Parser
public static MessageParser<ReplicaDeltas> Parser { get; }
Property Value
- MessageParser<ReplicaDeltas>
Methods
CalculateSize()
public int CalculateSize()
Returns
Clone()
public ReplicaDeltas Clone()
Returns
Equals(ReplicaDeltas)
public bool Equals(ReplicaDeltas other)
Parameters
otherReplicaDeltas
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(ReplicaDeltas)
public void MergeFrom(ReplicaDeltas other)
Parameters
otherReplicaDeltas
MergeFrom(CodedInputStream)
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStream