The oneway keyword means that if that call results in an IPC (i.e. the caller and callee are in different processes) then the calling process will not wait for the called process to handle the IPC. If it does not result in an IPC (i.e. they're both in the same process), the call will be synchronous.
如果调用者与被调用者在一进程,他们会同步。,
如果他们不在一个进和,他们会异步,不相等待。
oneway只能针对某一个接口,不能直接定义方法。 方法必须是void类型的
http://mylifewithandroid.blogspot.com/2010/01/oneway-interfaces.html
http://stackoverflow.com/questions/3041692/does-oneway-declaration-in-android-aidl-guarantee-that-method-will-be-called-in

本文深入探讨了Android AIDL中的Oneway接口特性,解释了当调用者与被调用者在同一进程时实现同步,反之则为异步的特点,并强调Oneway接口仅能应用于特定接口且方法必须为void类型。
352

被折叠的 条评论
为什么被折叠?



