On Dec 7, 2009, at 0:02 , lexer wrote:
Adam, Could you please show simple example how to use tag number for
dispatch purpose.
I believe he was referring to this sort of thing:
http://code.google.com/apis/protocolbuffers/docs/techniques.html#union
Hope this helps,
Evan
--
Evan Jones
Thank you guys. It was helpful.
--
You received this message because you are subscribed to the Google Groups
Protocol Buffers group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to
protobuf+unsubscr...@googlegroups.com.
For more
Here's an example from some code I wrote this weekend:
http://code.google.com/p/pbcap/source/browse/pbcap.proto -- Pay attention to
the Stream type.
http://code.google.com/p/pbcap/source/browse/Connection.java -- See
readOneMessage() and writeMessage().
The idea here is that the Stream message
Adam, Could you please show simple example how to use tag number for
dispatch purpose.
On Dec 3, 9:59 pm, Adam Vartanian flo...@google.com wrote:
Another option is to send some kind of identifier preceding the
message (just like the total size of the message), right?
Yep. In fact, the
I see.
Another option is to send some kind of identifier preceding the
message (just like the total size of the message), right?
-- Chris
On Dec 3, 5:23 pm, Adam Vartanian flo...@google.com wrote:
I just started looking into protobuf for a project of mine.
From the Java Api page I could