esi-msi-function
esi-msi-function This class is the base clase for the MSI function mapping, for consistency, all functions used by the MSI function mapping must be in a class which directly inherits from this base class. The two methods INPUT and OUTPUT only define examples how an input mehtode as well as an output message must be designed, they don’t have any function and produce an error, indivating, that they are not yet defined. Eiter overwrite them with a usefull implementation in the derived class, or shadow them with non functional properties ( e.g. INPUT= false, output= false) so that they can not be called by accident.)
Documentation
INPUT(data,optTable,msgId,mapTable,msgConfig)
Input function template
Parameters
Returns
true on success, false+error text on failure. # OUTPUT(optTable,mapTable,msgConfig)
Output function template
Returns
-
the values paramResponse, abortReponse and optional the msgId
-
if the paramResponse is given, this is used to create a Production Parameter message,
-
if that is not given, the second parameter is used to create an abort message
-
the msgId allows to find the correct pending message for this function.
-
That way several messages can run in parallel.