Re: [protobuf] Generic Message Dispatch and Message Handler

2010-10-27 Thread Evan Jones
On Oct 26, 2010, at 15:45 , maninder batth wrote: My generic Handler would create a GeneratedMessage and look for the field messageType. Based on the value of the messageType, a particular handler will be invoked. This is basically what I have done, for my protobuf RPC implementation. If you

[protobuf] Re: Generic Message Dispatch and Message Handler

2010-10-27 Thread Jimm
Evan, How are you parsing arbitrary PB bytes into a Generated Message ? I am finding no class in API that can deserialize PB byte buffer into GeneratedMessage? On Oct 27, 6:27 am, Evan Jones ev...@mit.edu wrote: On Oct 26, 2010, at 15:45 , maninder batth wrote: My generic Handler would

[protobuf] Parse PB bytes into a generic message

2010-10-27 Thread Jimm
Hello, I need a generic parser in java, which can de-serialize PB bytes buffer into a Message or GeneratedMessage. But, GeneratedMessage provides no such method to merge an arbitary PB bytes and provide an instance of itself. Any leads would be greatly appreciated. -- You received this message

Re: [protobuf] Parse PB bytes into a generic message

2010-10-27 Thread Adam Vartanian
I need a generic parser in java, which can de-serialize PB bytes buffer into a Message or GeneratedMessage. But, GeneratedMessage provides no such method to merge an arbitary PB bytes and provide an instance  of itself. From just a message's bytes you can't turn it into a Message. The

Re: [protobuf] New Ruby Protocol Buffers library

2010-10-27 Thread Brian Palmer
I think just the github page for the project would be great. Thanks! http://github.com/mozy/ruby-protocol-buffers -- Brian On Oct 26, 2010, at 10:56 PM, Kenton Varda wrote: I'd like to add this to the third-party wiki, but I'm not sure which link to use. Can you suggest (or create) a

[protobuf] Serialize message in C++, parse using Java

2010-10-27 Thread Jun8
I've Google for a day now and could not find full information on the following problem. I want to serialize protobuf messages in C++, send them to a JMS (using activemq-cpp API) and parse in my Java server. Based on what I found in my searches, here's my C++ function that serializes the message:

[protobuf] Issue 230 in protobuf: Documentation of the import behavior

2010-10-27 Thread protobuf
Status: New Owner: ken...@google.com Labels: Type-Defect Priority-Medium New issue 230 by sanchom: Documentation of the import behavior http://code.google.com/p/protobuf/issues/detail?id=230 As discussed at http://groups.google.ca/group/protobuf/browse_thread/thread/a72c9b4d8e3bdff5, the

[protobuf] Re: Parse PB bytes into a generic message

2010-10-27 Thread maninder batth
Since the client and server are remote, i am not sure how i can send Descriptor along with message? On Oct 27, 1:14 pm, Adam Vartanian flo...@google.com wrote: I need a generic parser in java, which can de-serialize PB bytes buffer into a Message or GeneratedMessage. But, GeneratedMessage

Re: [protobuf] Re: Parse PB bytes into a generic message

2010-10-27 Thread Adam Vartanian
Since the client and server are remote, i am not sure how i can send Descriptor along with message? All the different kinds of descriptors have associated protocol messages available through their toProto() methods, so you can serialize them, send them over the wire, and deserialize them on the

Re: [protobuf] Re: Generic Message Dispatch and Message Handler

2010-10-27 Thread Evan Jones
On Oct 27, 2010, at 11:36 , Jimm wrote: How are you parsing arbitrary PB bytes into a Generated Message ? I am finding no class in API that can deserialize PB byte buffer into GeneratedMessage? I'm using the generic Service API that is included with protocol buffers, so I'm not using

[protobuf] Migration from 2.0.3 to 2.3.0 problem on Mac OS –arch ppc

2010-10-27 Thread Irene Georgieva
Hi, I would like to migrate from 2.0.3 to 2.3.0. Everything looks ok except that I can’t link my existing projects on Mac OS with gcc 4.0 – arch ppc (only, i386 works fine). I receive: Undefined symbols: ___floatundidf, referenced from: