TinyBase logoTinyBase β

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;
}
ValueDescription
Response0

A message that is a response to a previous request.

GetContentHashes1

A message that is a request to get ContentHashes from another MergeableStore.

ContentHashes2

A message that contains ContentHashes.

ContentDiff3

A message that contains a ContentDiff.

GetTableDiff4

A message that is a request to get a TableDiff from another MergeableStore.

GetRowDiff5

A message that is a request to get a RowDiff from another MergeableStore.

GetCellDiff6

A message that is a request to get a CellDiff from another MergeableStore.

GetValueDiff7

A message that is a request to get a ValueDiff from another MergeableStore.

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