Creates a node factory in the message broker engine. A single instance of the named message flow node factory is created.
This function must be invoked only in the initialization function bipGetMessageFlowNodeFactory, which is called when the LIL is loaded by the message broker. If cniCreateNodeFactory is invoked at any other time, the results are unpredictable.
If successful, the address of the node factory object is returned. Otherwise, a value of zero (CCI_NULL_ADDR) is returned, and the returnCode parameter indicates the reason for the error.
factoryObject = cniCreateNodeFactory(0, (unsigned short *)constPluginNodeFactory); if (factoryObject == CCI_NULL_ADDR) { /* Handle errors */
Related concepts
User-defined Input nodes
User-defined message processing nodes
User-defined output nodes
Related tasks
Creating an input node in C
Creating a message processing node in C
Related reference
C language node utility functions
cniDefineNodeClass
Notices |
Trademarks |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
as07500_ |