Replaces the prior callback with the given ICallback. This can be used to gain more control over the way errors are handled.
void setCallBack(ICallBack cb);
Parameters |
Description |
ICallBack cb |
The new ICallBack to which errors are dispatched. |
The provided callback will be used to report errors and changed identifiers. See also the Callback example.