commit | 6fcdee4e8613e80af262125ed225700475a34390 | [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 | 9c6fb399c72d13d02dbce18c38d870ae9f415648 | |
parent | f474a0a45c4defc0cbffde2e14efaa65bc74b178 [diff] [blame] |
add protobuf
diff --git a/chatbuf.proto b/chatbuf.proto new file mode 100644 index 0000000..ca1312c --- /dev/null +++ b/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; +}