cniEvaluate
This function performs node processing. The integration node calls this function when a message is received on one of the input terminals of an instance of a node object.
The function forms the main logic of the message processing node or output node. It is not used with input nodes. You must define a function table before you call this function.
The responsibilities
of the node at this point are to:
- Process the message in accordance with the values of the attributes on the node instance.
- Process the message based on content, if desired.
- Propagate the message to any appropriate output terminals.
- Throw an exception if an error occurs.
Defined In | Type | Member |
---|---|---|
CNI_VFT | Conditional | iFpEvaluate |
Syntax
void cniEvaluate(
CciContext *context,
CciMessage *localEnvironment,
CciMessage *exceptionList,
CciMessage *message);
Parameters
context
- The address of the context for the instance of the node, as created by the node and returned by the cniCreateNodeContext function (input).
localEnvironment
- The address of the input local environment object (input).
For compatibility with earlier versions, you can refer to this parameter as
destinationList
. exceptionList
- The address of the exception list for the message (input).
message
- The address of the input message object (input).