sendTypeMsgWithParams

sendTypeMsgWithParams(msg:       String;
                      paramList: ParamListType): Any;

The sendTypeMsgWithParams method of the Object class sends the specified message (type method) containing a variable list of parameters to the receiver.

The return type of the sendTypeMsgWithParams method is to allow for an optional return value from the method being called. If the called method returns a value, the Any result must be cast to the appropriate type, to access that result.

The msg parameter must be the name of a valid type method, which is executed when the sendTypeMsgWithParams method is called.

Use the paramList parameter to pass one or more parameters to the method being called.

If the number or type of the actual parameters passed to a method or condition by a parameter list does not correspond exactly to the formal parameter list declaration, an exception or an unpredictable result can occur, as the compiler is unable to perform any type checking on the values that are passed to a parameter list.

For details about the ParamListType pseudo type, see "ParamListType" under "Pseudo Types", in Chapter 1 of the JADE Developer’s Reference. See also:

2016.0.01 and higher