akmhoque | 66e6618 | 2014-02-21 17:56:03 -0600 | [diff] [blame] | 1 | package Sync; |
2 | |||||
3 | message SyncState | ||||
4 | { | ||||
5 | required string name = 1; | ||||
6 | enum ActionType | ||||
7 | { | ||||
8 | UPDATE = 0; | ||||
9 | DELETE = 1; | ||||
10 | OTHER = 2; | ||||
11 | } | ||||
12 | required ActionType type = 2; | ||||
13 | message SeqNo | ||||
14 | { | ||||
15 | required uint64 seq = 1; | ||||
16 | required uint64 session = 2; | ||||
17 | } | ||||
18 | optional SeqNo seqno = 3; | ||||
19 | } | ||||
20 | |||||
21 | message SyncStateMsg | ||||
22 | { | ||||
23 | repeated SyncState ss = 1; | ||||
24 | } |