Creates a user-defined extension context associated with a parser object. It is invoked by the message broker when an instance of a parser object is constructed or allocated. This occurs when a message flow causes the message data to be parsed; the broker constructs or allocates a parser object to acquire the appropriate section of the message data. Before this function is called, the broker will have created a name element as the effective root element for the parser. However, this element is not named. The parser should 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.
Notices |
Trademarks |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
as08095_ |