[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ecf-dev] Remote service question
- From: Hallvard Trætteberg <hal@xxxxxxxxxxx>
- Date: Tue, 21 Oct 2014 23:11:27 +0200
- Delivered-to: firstname.lastname@example.org
- User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
On 21.10.14 18:00, ecf-dev-request@xxxxxxxxxxx wrote:
From: Wim Jongman <wim.jongman@xxxxxxxxx>
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,
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, this is good idea, particularly if you want something more like
streaming, since you don't need to have the same number of calls in each
In Akka you can ask for the sender. Is there anything similar in ECF, so
you don't need to discover the (host of the) callback service?
On Mon, Oct 20, 2014 at 10:04 PM, Scott Lewis <slewis@xxxxxxxxxxxxx> wrote:
On 10/20/2014 12:28 PM, Hallvard Tr?tteberg wrote:
Yes, this was what I was thinking of. The advantage is that the framework
does a bit more for you, and you 'reuse' the async interface that you
already defined for the caller.
Right. It may very well make sense to create a new/customized
distribution provider to do this for you, and ECF's provider architecture
makes this very natural (e.g. you could even very simply extend an existing
If you decide it would be worth it to do this we can certainly continue
technical/implementation discussion in those directions (new/extended
distribution provider). Just let me/all know.
ecf-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
-------------- next part --------------
An HTML attachment was scrubbed...
ecf-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
End of ecf-dev Digest, Vol 111, Issue 20
Hallvard Traetteberg, Associate Professor
Dept. of Computer and Information Sciences (IDI)
Norwegian University of Science and Technology (NTNU)