cniEvaluate

Performs node processing. It is invoked by the message broker when a message is received on one of the input terminals of an instance of a node object. This function forms the main processing logic of the message flow or output node. It is not used with input nodes.

You need to have defined a function table before calling this function, or it will not work.

The responsibilities of the node at this point are to:
  1. Process the message in accordance with the values of any attributes on the node instance.
  2. Process the message based on content, if desired.
  3. Propagate the message to any appropriate output terminals.
  4. Throw an exception if an error occurs.
Defined In Type Member
CNI_VFT Conditional iFpEvaluate

Syntax

void cniEvaluate(
  CciContext  *context,
  CciMessage  *destinationList,
  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).
destinationList
The address of the input destination list object (input).
exceptionList
The address of the exception list for the message (input).
message
The address of the input message object (input).