executeTransientIOMethod

executeTransientIOMethod(meth:     JadeMethod;
                         receiver: Any io;
                         params:   ParamListType io): Any;

The executeTransientIOMethod method of the Process class executes the transient JADE method specified in the meth parameter. This method returns the result value returned by the executed method. The method that is executed must have been created by using the Process class createTransientMethod method.

The method is executed as part of the current JADE process and any references to system variables (for example, app) reference those for the application that is currently running.

The executeTransientIOMethod method parameters are listed in the following table.

Parameter Description
meth The transient method to be executed.
receiver The receiving object or primitive type, defined as an io parameter to allow it to be updated by an updating method specified in the meth parameter.
params Maps to a variable list of zero or more parameters of any type that are to be passed to the method that is executed. This parameter is defined as io to allow the passing and updating of parameters defined as io in the signature of the method specified in the meth parameter. (The ParamListType pseudo type can be used only as a formal parameter in a method signature. You cannot define a local variable with a type of ParamListType.)

For details about the ParamListType pseudo type specified in the last formal parameter (params), see "ParamListType" under "Pseudo Types", in Chapter 1 of the JADE Developer’s Reference. See also "Passing Variable Parameters to Methods" under "JADE Language Syntax", in Chapter 1 of the JADE Developer’s Reference.