Skip to content

建立Binder连接池解决因不断增加的aidl接口而增加Service服务类的问题

Notifications You must be signed in to change notification settings

LittleYellowFish/BinderPool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8f1254e · Apr 12, 2017

History

7 Commits
Apr 12, 2017
Apr 12, 2017
Apr 12, 2017
Apr 12, 2017
Apr 12, 2017
Apr 12, 2017
Apr 12, 2017
Apr 12, 2017
Apr 12, 2017
Apr 12, 2017
Apr 12, 2017
Apr 12, 2017
Apr 12, 2017

Repository files navigation

 ______________________                                    _________________________                               
|          AIDL        |  ------>                 ------> |         Binder          |
|——————————————————————|                  /               |—————————————————————————|
|          AIDL        |  ------>       /  \      ------> |         Binder          |          
|——————————————————————|               /query\            |—————————————————————————|—-bind——>Service
|          AIDL        |  ------>      \     /    ------> |         Binder          |           
|——————————————————————|                \   /             |—————————————————————————|
|          AIDL        |  ------>         /       ------> |         Binder          |
|——————————————————————|                                  |—————————————————————————| 
       
         客户端                                                         Binder连接池
                                
                                 
                                  Binder连接池的工作原理
                                  
                                  
                                  
                                  
      Binder连接池的主要作用就是将每个业务模块的Binder请求同意转发到远程Service中去执行,从而避免了重复创建Service的过程。

About

建立Binder连接池解决因不断增加的aidl接口而增加Service服务类的问题

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages