Android frameworks中Bn*和Bp*的区别

来源:互联网 发布:软件使用文档 编辑:程序博客网 时间:2024/06/06 20:21
Q:What do "Bn*" and "Bp*" stand for in frameworks/base/include/utils/IInterface.h ?

I understand that "B" is for binder but what about "n" and "p"?

It seems like "p" may stand for "remote" and "n" for "native" but I would love a clarification.


A:"n" is native, that is the class you inherit from to implement the interface; "p" is proxy, that is the class that is created to perform interface calls through IPC.


http://groups.google.com/group/android-platform/browse_thread/thread/467bc0b5e858473f


原创粉丝点击