Hi,
We are trying to implemented RCFProto Server with Async clients. Currently help document has only client specific implementation. What changes are required on the server side to implement an async client calling. Also how can the server preserver callback handle of a client so that it can be called in another thread.
Thanks
-Sanjeev
Async RCFProto Example
Re: Async RCFProto Example
Async client calling doesn't need any changes on the server side, as it's entirely a client-side technique.
For async server-side dispatching, you would preserve the RpcCallback object you receive from Protocol Buffers, store it in a list somewhere, and a worker thread would then pick it up and eventually call run() on it to deliver the response.
For async server-side dispatching, you would preserve the RpcCallback object you receive from Protocol Buffers, store it in a list somewhere, and a worker thread would then pick it up and eventually call run() on it to deliver the response.
Re: Async RCFProto Example
We tried this,but it threw unhandled exception.