blob: 18892fb44fce55ece7fd3f2dd03a0f70816dbbdb [file] [log] [blame]
Zhenkai Zhu97e36bd2012-06-06 13:55:03 -07001package Sync;
2
3message 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 uint32 seq = 1;
16 required uint32 session = 2;
17 }
Zhenkai Zhu3cfdcb92012-06-06 15:20:10 -070018 optional SeqNo seqno = 3;
Zhenkai Zhu97e36bd2012-06-06 13:55:03 -070019}
20
21message SyncStateMsg
22{
23 repeated SyncState ss = 1;
24}