Re: [protobuf] does java api have something like DescriptorPool

2009-12-10 Thread Romain François
to the DescriptorPool in Java. If you know the types that you want you can build a mapping yourself. Or if you'd be interested in porting the C++ DescriptorPool to java that would be great! 2009/12/9 Romain François francoisrom...@free.fr mailto:francoisrom...@free.fr

Re: [protobuf] does java api have something like DescriptorPool

2009-12-10 Thread Romain François
this since you said this will disapear at some point... 2009/12/10 Romain François francoisrom...@free.fr mailto:francoisrom...@free.fr On 12/09/2009 09:00 PM, Kenton Varda wrote: Actually I don't think we need DescriptorPool in Java. DescriptorPool

Re: [protobuf] protobuf rpc over http

2009-12-10 Thread Romain François
On 12/10/2009 11:13 AM, Kenton Varda wrote: 2009/12/10 Romain François francoisrom...@free.fr mailto:francoisrom...@free.fr Cool. Do you have your layout documented somewhere in your project. Embed service full name and method name in the http request as we do allows the request

Re: [protobuf] protobuf rpc over http

2009-12-10 Thread Romain François
, when people can always (for now) do their own thing using protocol buffers just for serialization. Marc 2009/12/10 Romain François francoisrom...@free.fr mailto:francoisrom...@free.fr On 12/10/2009 04:30 PM, Pavel Shramov wrote: On Wed, Dec 09, 2009 at 12:10:33PM +0100

[protobuf] protobuf rpc over http

2009-12-09 Thread Romain François
Hello, Following Kenton's advice, I'm starting to look at implementing protobuf rpc over http. I have started to work on a basic java server (based on the com.sun.net.httpserver class). I will post this at some point when I am happier with it (currently it can only serve one dummy service that

[protobuf] does java api have something like DescriptorPool

2009-12-09 Thread Romain François
Hello, Given a service/method full name, I'd like to get hold of the ServiceDescriptor, or MethodDescriptor. In C++ I would use the DescriptorPool, but I don't see this in the java api. Is there a way ? Romain -- Romain Francois Professional R Enthusiast +33(0) 6 28 91 30 30

Re: [protobuf] comparison of rpc implementations

2009-11-30 Thread Romain François
at this a week after. Can you expand on what is going away. ServiceDescriptor, MethodDescriptor, RpcChannel, Service ? The service definition language will still exist, but future versions of protoc will let you plug in a custom code generator for them. 2009/11/22 Romain François francoisrom

[protobuf] comparison of rpc implementations

2009-11-22 Thread Romain François
Hello, Is there a comparison of the various rpc implementations somewhere ? We are implementing third party support for R and would like to throw an rpc implementation into the mix, but which one to choose ? Romain -- Romain Francois Professional R Enthusiast +33(0) 6 28 91 30 30

[protobuf] Re: how to resize a repeated field

2009-11-10 Thread Romain François
On 11/10/2009 11:04 AM, Romain François wrote: Hello, For example if I have a repeated int32 field that currently contains 10 elements, and I want to modify the field to only contain 3 elements. Is there a way to achieve this using the methods of the Reflection class, or do I have

[protobuf] Re: enumerate message types of a DescriptorPool

2009-11-01 Thread Romain François
it. You should find a design which does not require enumerating the entire pool. 2009/11/1 Romain François francoisrom...@free.fr mailto:francoisrom...@free.fr Hello, Is there a way to generate the list of message types currently known by a descriptor pool ? Romain