RE: Storing complex graphs of objects?

2009-03-27 Thread Paul Runyan
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

Re: Storing complex graphs of objects?

2009-03-27 Thread Kenton Varda
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