Re: How to properly implement RpcChannel::CallMethod

2008-09-16 Thread laserallan
That was the information I needed to get going. Thanks for your quick reply! On Sep 16, 7:16 pm, "Kenton Varda" <[EMAIL PROTECTED]> wrote: > You should send the method's name along with the request.  The receiver can > then look up the MethodDescriptor from the service's ServiceDescriptor, > us

Re: How to properly implement RpcChannel::CallMethod

2008-09-16 Thread Kenton Varda
You should send the method's name along with the request. The receiver can then look up the MethodDescriptor from the service's ServiceDescriptor, using FindMethodByName(). You might even encode your messages like this: message RpcRequest { required string method_name = 1; // The serialized

How to properly implement RpcChannel::CallMethod

2008-09-16 Thread laserallan
Hi! I have some problems setting up a simple IPC system using protocol buffers for sending the parameters and results between two processes. I have written a protocol buffers service with a function and a simple IPC system that can transfer raw byte messages between two processes. My problem is u