A COM server works on behalf of a COM client as follows:
For example, consider a burglar alarm. A burglar alarm has two distinct interfaces:
turnOn, turnOff methods
ringTheBell method
Definition: An event interface is an interface where the methods on the interface are initiated by the object itself.
The 'alarm' interface of the BurglarAlarm object is therefore an event interface.
The other term used for an event interface is an outbound interface since the data flows out of the object without any first coming in from the client.
Definition: An interface is either:
Click here for an example of COM events within Carapace.
| Contents | Index | Current topic: COM | Related topics: objects, functions |