[protobuf] Message References

2009-12-08 Thread Chris
Hey, there are some threads in this group hinting to special solutions in cases where you want to have some kind of references build in - or on top of - protobuf messages. For example you would want that to model DAG (or even cyclic graph) structures. I was thinking about how I would want such

Re: [protobuf] Message References

2009-12-08 Thread Marc Gravell
That is actually pretty similar to a scheme I had in mind to (opt-in only) get protobuf-net working at graph serialization. I don't think it would be easy to fit into the existing .proto or codegen, but protobuf-net doesn't actually demand these. Before I go on - the first thing I'll say is that

[protobuf] Protocol Buffers using Lzip

2009-12-08 Thread Jacob Rief
Hello Brian, hello Kenton, hello list, as an alternative to GzipInputStream and GzipOutputStream I have written a compression and an uncompression stream class which are stackable into Protocol Buffers streams. They are named LzipInputStream and LzipOutputStream and use the Lempel-Ziv-Markov chain

[protobuf] Problem in installing protobuf-2.2.0a on Solaris 10

2009-12-08 Thread mk
Hi Could someone please help me to install protobuf-2.2.0a on Sun Soalris machine. I tried even to install it to /usr, but I am still getting these same errors: ld: fatal: file .libs/common.o: wrong ELF class: ELFCLASS64 ld: fatal: File processing errors. No output written to .libs/

Re: [protobuf] Message References

2009-12-08 Thread Adam Vartanian
A standard protocol buffer message type ptr_B from which a flat Java class will be generated does not seem adequat to to so. Instead some new abstract Class RefMessageT extends Message with a method T getReferencedObject() would be the solution. ptr_X messages simply had to be transformed to

[protobuf] Re: Message References

2009-12-08 Thread Chris
Thanks for the replies so far. To explain a little more what I need all this for probably gives a better overview: Basically I want to write a framework for mobile devices (Android,iPhone,...) to easily enable data exchange between a device and some server component(s). On top of this framework

Re: [protobuf] Problem in installing protobuf-2.2.0a on Solaris 10

2009-12-08 Thread Oliver Jowett
mk wrote: Hi Could someone please help me to install protobuf-2.2.0a on Sun Soalris machine. I tried even to install it to /usr, but I am still getting these same errors: ld: fatal: file .libs/common.o: wrong ELF class: ELFCLASS64 ld: fatal: File processing errors. No output written to