Message
The Message
enum is used to indicate the type of the message being passed between Synchronizer
instances.
{
Response: 0;
GetContentHashes: 1;
ContentHashes: 2;
ContentDiff: 3;
GetTableDiff: 4;
GetRowDiff: 5;
GetCellDiff: 6;
GetValueDiff: 7;
}
Value | Description | |
---|---|---|
Response | 0 | A message that is a response to a previous request. |
GetContentHashes | 1 | A message that is a request to get |
ContentHashes | 2 | A message that contains |
ContentDiff | 3 | A message that contains a ContentDiff. |
GetTableDiff | 4 | A message that is a request to get a TableDiff from another |
GetRowDiff | 5 | A message that is a request to get a RowDiff from another |
GetCellDiff | 6 | A message that is a request to get a CellDiff from another |
GetValueDiff | 7 | A message that is a request to get a ValueDiff from another |
These message comprise the basic synchronization protocol for merging MergeableStore
instances across multiple systems.
The enum is generally intended to be used internally within TinyBase itself and opaque to applications that use synchronization.
Since
v5.0.0