This function sets the value of an attribute on a specific node instance. It is called by the integration node when a configuration request is received that attempts to set the value of a node attribute, or during initialization of the node.
A node receives requests to set attributes for the base. If an unknown attribute value is received, this function must return a non-zero value so that the integration node processes the request correctly.
Defined In | Type | Member |
---|---|---|
CNI_VFT | Optional | iFpSetAttribute |
int cniSetAttribute(
CciContext* context,
CciChar* attrName,
CciChar* attrValue);
If successful, zero is returned. If the name of the attribute does not identify one supported by the node, a non-zero value is returned.