This function gets the value of an attribute
on a specific node instance.
Restriction: This function imposes a restriction on the
length of the attribute value. This function is provided only for compatibility
with earlier versions. You should implement cniGetAttribute2.
This
function is invoked by the broker:
- Before the nodes configuration is deployed in order to ascertain default
values of any attributes that might override attributes owned by the framework.
- After setting the deployed configuration in order to write the configuration
to the broker’s database. This call ensures that the configuration persists
across shutdown and restarts of the execution group
The responsibilities of the node are to:
- Return a character representation of the attribute value.
- Throw an exception if an error occurs.
If both
cniGetAttribute and
cniGetAttribute2 are
implemented,
cniDefineNodeClass fails with
CCI_INV_IMPL_FUNCTION.
Defined In |
Type |
Member |
CNI_VFT |
Optional |
iFpGetAttribute |