cniDeleteNodeContext

Deletes any context for an instance of a user-defined node object. It is invoked by the message broker whenever an instance of a node object is destroyed, when a message flow is deleted, or when a configuration is redeployed. A message flow node might also be deleted when reconfiguring or redeploying a broker.

The responsibilities of the node at this point are to:
  1. Release any node instance specific data areas (such as context) that were acquired at construction or during node processing.
  2. Release any additional resources that might have been acquired for the processing of the node.
Defined In Type Member
CNI_VFT Optional iFpDeleteNodeContext

Syntax

void cniDeleteNodeContext(CciContext* context);

Parameters

context
The address of the context for the instance of the node, as created and returned by the cniCreateNodeContext function (input).

Example

void _deleteNodeContext(
  CciContext* context
){
  static char* functionName = (char *)"_deleteNodeContext()";

  return;
}