commit | eeff966b4b8ba265cfd22f7e569baa8540ac4543 | [log] [tgz] |
---|---|---|
author | Zhenkai Zhu <zhenkai@cs.ucla.edu> | Wed May 30 17:02:49 2012 -0700 |
committer | Zhenkai Zhu <zhenkai@cs.ucla.edu> | Wed May 30 17:02:49 2012 -0700 |
tree | 054697d14fb269e8c55c543e8cbe55678218d83f | |
parent | c5c79b69c772d47a5d9d419ba7957bf0dbfe81ce [diff] [blame] |
add protobuf
diff --git a/demo/chatbuf.proto b/demo/chatbuf.proto new file mode 100644 index 0000000..ca1312c --- /dev/null +++ b/demo/chatbuf.proto
@@ -0,0 +1,13 @@ +package SyncDemo; + +message ChatMessage { + required string msgData = 1; + required string to = 2; + required string from = 3; + required int32 timestamp = 4; + enum ChatMessageType { + CHAT = 0; + OTHER = 1; + } + optional ChatMessageType type = 5; +}