On Fri, Jul 17, 2009 at 7:20 AM, Guillaume
Perrot<[email protected]> wrote:
>
> Hello,
> I found in Android source code an interesting but undocumented keyword
> for aidl: "oneway" (before void in a function).
> As it sounds, the generated code uses the corresponding flag
> http://developer.android.com/reference/android/os/IBinder.html#FLAG_ONEWAY
> when performing the remote transaction.
> To my understanding it can be used to fire remote listeners without
> having to wait for each listener to return.

Yes, but note that there is no guarantee as to the ordering, so the
remote calls may happen in a different order than your local calls.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to