This function creates a user-defined extension context associated with a parser object. It is called by the integration node when an instance of a parser object is constructed or allocated. This action occurs when a message flow causes the message data to be parsed; the integration node constructs or allocates a parser object to acquire the appropriate section of the message data.
Before this function is called, the integration node creates a name element as the effective root element for the parser. However, this element is not named. The parser must name this element in the cpiSetElementName function.
Defined In | Type | Member |
---|---|---|
CPI_VFT | Mandatory | iFpCreateContext |
void cpiCreateContext(
CciParser* parser);
If successful, the address of the user-defined extension context is returned. Otherwise, a value of zero is returned.