Table of Contents
A callout is a request to have a method invoked after a given time duration (in seconds). The driver guarantees that at least the given time duration will pass before the method is invoked, but makes no guarantee as to when the actual invocation will occur (i.e., if you specify two seconds, at least two seconds will pass, but the invocation won't necessarily happen exactly two seconds later).
As far as the Driver is concerned, all callouts are events. The contract between the Driver and events is such that it's the event's responsibility to set an active object with the Driver during event processing, if an active object will be required by anything within the path of execution initiated by that event.
This module provides convenience functions for requesting callouts from the Driver. You can either supply an instance of your own event that you would like processed after the time duration, or you can supply an active object and a function, in which case this module will submit an instance of its own event to the Driver that, when processed, will set the active object to the one provided and then invoke the given function.
Table of ContentsThis document was automatically generated on Thu Jan 24 08:57:43 2002 by HappyDoc version 2.0