ContentsIndexHome
PreviousUpNext
ISession::setCallBack Method

Replaces the prior callback with the given ICallback. This can be used to gain more control over the way errors are handled. 

 

C++
virtual void setCallBack(aimms::ICallBack* cb) = 0;
Parameters 
Description 
aimms::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.