setNotificationTarget
Registers a C function to handle access notifications sent from this object.
Declaration
virtual void setNotificationTarget(
void *target,
Action action,
void *param = 0);Parameters
- target:
The first parameter passed to the notification handler.
- action:
A pointer to a C function that will handle the notification. If 0, then notification is disabled.
- param:
An optional parameter passed to the notification handler.
Overview
A notification is sent by an IONetworkData object to the registered notification handler, when an access method is called to modify the contents of the data buffer.