> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# IProcessingEvents Interface

This is a callback interface that is used for reporting events from the [**ClassificationTrainer**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/classificationtrainer.md) and the [**FieldsExtractionTrainer**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/fieldsextractiontrainer.md) objects during classifier training, field extraction training and NLP models training. The object implementing the **IProcessingEvents** Interface is connected to the trainer objects via the **IConnectionPointContainer** interface.

This interface is implemented on the client side. See the detailed implementation advice for your development tool in [Working with Connectable Objects](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/connectableobjects.md).

It is also used by the methods of other objects to report progress and warnings; those methods receive the object implementing this interface as an input parameter.

## Methods

| **Name** | **Description** |
| - | - |
| [**OnError**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/iprocessingevents-onerror.md) | Called when an error is reported. Delivers to the client information about the errors which occur during the processing. |
| [**OnMessage**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/iprocessingevents-onmessage.md) | Called when a message is reported. Allows the client to terminate the current operation of the processing. |
| [**OnProgress**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/iprocessingevents-onprogress.md) | Delivers to the client information about approximate readiness of the current operation. |
| [**OnWarning**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/iprocessingevents-onwarning.md) | Called when a warning is reported. Delivers to the client information about the warnings which occur on the client side. |

## Input parameter

The following methods receive a pointer to an object implementing this interface as an input parameter:

* [**Commit**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/datasettablerecords-commit.md) method of the [**DataSetTableRecords**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/datasettablerecords.md) object
* [**Commit**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/businessunitrecords-commit.md) method of the [**BusinessUnitRecords**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/businessunitrecords.md) object
* [**Commit**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/vendorrecords-commit.md) method of the [**VendorRecords**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/vendorrecords.md) object
* [**LoadClassifier**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/classificationtrainingbatch-loadclassifier.md) method of the [**ClassificationTrainingBatch**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/classificationtrainingbatch.md) object

## See also

[**ClassificationTrainer**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/classificationtrainer.md)

[**DataSetTableRecords**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/datasettablerecords.md)

[**FieldsExtractionTrainer**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/fieldsextractiontrainer.md)

[Working with Connectable Objects](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/connectableobjects.md)
