Using CAR Smart Pointer to Realize Callback Mechanism

YE Rong,CHEN Rong
DOI: https://doi.org/10.3969/j.issn.1673-629x.2008.02.003
2008-01-01
Abstract:Elastos operating system,which can sustain component applications,is based on component assembly runtime technique.Communication process between normal component and client is one-way oriented,client builds component object,and then calls interface provided by the object.In this communication process,the client is always active,and component object is in a passive state.For a comprehensive interactive process,such one-way communication often cannot meet the actual needs,component object also need take the initiative to communicate with client, as well as to provide call back interface.Elastos Callback mechanism is helpful for binary components' integration and it allows components running in different context,which largely improves the CAR component running efficiency.However the normal Callback implementation is too much complicated during execution.Depicts how to use CAR smart pointer to simplize the application procedure of Callback mechanism.
What problem does this paper attempt to address?