From: "J-P. Rosen" <rosen@adalog.fr>
Subject: Re: Question about asynchronous calls
Date: Wed, 06 Nov 2013 19:49:58 +0100
Date: 2013-11-06T19:49:58+01:00 [thread overview]
Message-ID: <l5e30i$l2t$1@dont-email.me> (raw)
In-Reply-To: <19b9cc6b-28a4-45e4-939c-7720ae5666b9@googlegroups.com>
Le 06/11/2013 12:05, mockturtle a écrit :
> While reading section "E.4.1. Asynchronous Remote Calls" of our
> beloved RM, I got a doubt: as I understand the language does not
> define any specific mechanism for getting the "return value" of an
> asynchronous call; if I want the result back I must implement the
> "back channel" by myself (e.g., a callback or a polling function of
> type "are we there yet?" [to be said with childish voice] :-). Am I
> right?
>
Asynchronous calls is for calls that do not expect a returned value (no
functions, no out parameters). The only thing you loose is that
exceptions raised on the server side are not transmitted.
If you need a return channel, use synchronous calls. Asynchronous calls
are an optimization: you don't wait for the result if you don't expect
any result.
--
J-P. Rosen
Adalog
2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00
http://www.adalog.fr
next prev parent reply other threads:[~2013-11-06 18:49 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-06 11:05 Question about asynchronous calls mockturtle
2013-11-06 18:49 ` J-P. Rosen [this message]
2013-11-06 20:40 ` mockturtle
2013-11-06 19:54 ` Shark8
2013-11-06 20:49 ` mockturtle
2013-11-07 7:46 ` Stefan.Lucks
2013-11-07 10:23 ` Predicates (was: Question about asynchronous calls) Georg Bauhaus
2013-11-07 18:59 ` Question about asynchronous calls mockturtle
2013-11-07 8:18 ` Jacob Sparre Andersen
2013-11-07 19:00 ` mockturtle
2013-11-06 20:49 ` Jeffrey Carter
2013-11-06 20:58 ` Shark8
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox