[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ecf-dev] Remote service question
- From: Scott Lewis <slewis@xxxxxxxxxxxxx>
- Date: Tue, 21 Oct 2014 09:12:11 -0700
- Delivered-to: email@example.com
- User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
On 10/21/2014 5:41 AM, Wim Jongman wrote:
Alternatively, you could setup two services, one on each end.
The server sets up RequestService#Request(Request request)
The client sets up CallBackService#DeliverResults(Request
originalRequest, Whatever result)
When the server has finished processing the request it calls back the
client with the original request and the result.
On top of that, both calls can be done async.
Yes, I think you are right that a two services approach could/does work.
The complexities in this case have to do with associating these two
services, which are hosted by different processes and so could have very
But again, you are quite right that this is a viable approach.