Actor:
- ServiceManager
- ServiceProvider (class service)
- ServiceUser (class activity, or any which call another service)
- SeriveManager mesti yg pertama start.
Daftar dengan BinderDriver, guna handle 0. - ServiceProvider bila start register dengan BinderDriver.
Binder akan generate handle, eg 10.
ServiceManager simpan nama service dan handle. - Client akan guna handle 0 utk comunicate dengan ServiceManager.
Client request base on service Name.
ServiceManager akan beritahu no handle.
Client talk using the handle through Binder
No comments:
Post a Comment
Terima kasih