This is a callback interface that is used for managing the work of the BatchProcessor object and reporting errors, occurred during processing. This interface is implemented on the client-side.
An object receiving notifications through this interface's methods may do the following inside the methods' implementation:
- Process any Windows messages, which is useful in applications having User Interface, to avoid the effect that the application "is not responding" during long operations.
- Report errors occurred during processing to the user.
- Cancel processing.
|OnError||Delivers to the client descriptions of the errors appeared during processing.|
|OnProgress||Allows the client to cancel processing.|
The IBatchProcessor::Start method receives a pointer to this interface as an input parameter.