Upon processing, sets an active object and invokes a given method.
This event is used by the callout module to support the ability to
simply supply an active object and function to be invoked. As far
as the Driver is concerned, all callouts are events, so an instance
of this event will be supplied in that case. When the driver processes
this event, it will set the active object to the one specified and
then invoke the method or function specified.
Methods
|
|
__init__ process
|
|
__init__
|
__init__ (
self,
activeObject,
method,
optionalArguments=None,
)
Initialize this event with the active object, method, and arguments.
The active object and method are required. The arguments are optional. arguments:
-
activeObject
- (ob instance) the object to call the method on
-
method
- (function) the method to call
-
optionalArguments=None
- (tuple) arguments to send to the method
being invoked
|
|
process
|
process ( self )
process gets executed by the engine. It sets the active
object and then invokes the method with the arguments (all
set when initializing the CalloutEvent object).
|
|