Android frameworks中Bn*和Bp*的区别

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


发布了270 篇原创文章 · 获赞 273 · 访问量 377万+
展开阅读全文

没有更多推荐了,返回首页

©️2019 CSDN 皮肤主题: 大白 设计师: CSDN官方博客

分享到微信朋友圈

×

扫一扫,手机浏览