摘要 |
A system and method are disclosed for distributing events in a data processing system from an event generator to an event recipient, while retaining processing control at the event generator. A manager object is created to manage the event generator's event calls. In response to an event, a distributor object is created and assigned a new thread of execution. When multiple event recipients exist, a slave object is created for each recipient, with each slave assigned to a new thread of execution. The slave object distributes the event by calling an interface method that is created as part of the event generator.
|