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


你可能感兴趣的:(frameworks)