invoke(target: PseudoMethodCallType input) updating;
The invoke method of the JadeMethodContext class queues a request for the execution of an asynchronous method call to a worker application. The formal target parameter is a placeholder for the receiver object reference, the called method, and the list of parameters (if any) for the called method.
The following code fragment shows the use of the invoke method to make an asynchronous call to execute the getHistory method on an instance of the Customer class.
vars cust : Customer; date : Date; begin ... jadeMethodContext.invoke(cust, getHistory, date);
The method signature of the getHistory method in the Customer class is as follows.
Customer::getHistory(startDate: Date): String;