Define una clase de nodo, especificado por el parámetro name, soportada por la fábrica de nodos especificada como parámetro factoryObject. El nodo invoca esta función durante la ejecución de bipGetMessageFlowNodeFactory, cuando se carga la LIL (Biblioteca de implementación cargable).
Si se implementan ambos, cniGetAttribute y cniGetAttribute2 o cniGetAttributeName y cniGetAttributeName2, cniDefineNodeClass falla con CCI_INV_IMPL_FUNCTION.
void cniDefineNodeClass( int* returnCode, CciFactory* factoryObject, CciChar* name, CNI_VFT* functbl);
vftable.iFpCreateNodeContext = _Transform_createNodeContext; vftable.iFpDeleteNodeContext = _deleteNodeContext; vftable.iFpGetAttributeName2 = _getAttributeName2; vftable.iFpSetAttribute = _setAttribute; vftable.iFpGetAttribute2 = _getAttribute2; vftable.iFpEvaluate = _Transform_evaluate; /* si no es un nodo de entrada */ vftable.iFRun = _run /* si es un nodo de entrada */
Normalmente sólo definirá una de las 2 últimas entradas, es decir, definirá vftable.iFpEvaluate = _Transform_evaluate; para un nodo de proceso de mensajes o definirá vftable.iFpRun = _run; para un nodo de entrada.