Re: Implementing Rpc service in Java -- need help!

2008-09-18 Thread Jie Yao
I see. The java RPC implementation has to be async via call back, is that right? Jie On Sep 18, 2:15 pm, "Kenton Varda" <[EMAIL PROTECTED]> wrote: > Use the callback: > > Message response = > responsePrototype.newBuilderForType.mergeFrom(data).build(); > done.run(response); > > On Thu, Sep

Re: Implementing Rpc service in Java -- need help!

2008-09-18 Thread Jie Yao
How do I return the error status to client if done.run(response) returns only the expected response under successful scenarios. Jie - Original Message From: Kenton Varda <[EMAIL PROTECTED]> To: Jie Yao <[EMAIL PROTECTED]> Cc: Protocol Buffers Sent: Thursday, Septembe