Giter Club home page Giter Club logo

binderpool_client's Introduction

BinderPool_Client

进程间通信,Binder连接池客户端

配合Binder连接池远程服务端 使用

根据任主席的《Android开发艺术探索》学习而来,对于书中在一个应用中开启多进程,实现的多进程通信演变转化为不同应用间的多进程通信。

主要修改如下

1、按照按照任务划分,BinderPool应运行在client端中,将其复制到client端(server端的BinderPool可以删除),将IBinderPool.aidl、ICompute.aidl、ISecurityCenter.aidl三个AIDL文件复制到client端。

2、微调BinderPool中的connectBindPoolService方法、改为隐式调用service。

3、改造BinderService中的Binder,将BinderPool中应运行在server端中的BinderPoolImpl从BinderPool中转移到BinderPoolService中。BinderPool中的常量也同时移动到BinderPoolService中。

binderpool_client's People

Contributors

bambooblacklee avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.