Hi Kenton -
Thanks for your help. Obviously defining message types in proto files is
crucial for being able to exchange messages between different languages.
However, as a substitute for Java serialisation having to specify message types
in separate files from the source files seems less
You could treat the protobuf classes as private implemnetation helpers.
Your public interface would have methods like you describe, and internally
they'd just copy the object's state into a protocol buffer and then
serialize it.
On Fri, Mar 27, 2009 at 2:32 AM, Paul Runyan