[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] Remote service question

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 different dynamics.

But again, you are quite right that this is a viable approach.