Callback interface used when closing a file or writing a block of file data.
More...
#include <dnp3.hpp>
Callback interface used when closing a file or writing a block of file data.
- Note
- this class is an "interface" and only has virtual methods, some of which may have default implementations.
◆ on_complete()
| virtual void dnp3::FileOperationCallback::on_complete |
( |
Nothing |
result | ) |
|
|
pure virtual |
Invoked when the asynchronous operation completes successfully.
- Parameters
-
| result | Indicates a successful write operation |
◆ on_failure()
| virtual void dnp3::FileOperationCallback::on_failure |
( |
FileError |
error | ) |
|
|
pure virtual |
Invoked when the asynchronous operation fails.
- Parameters
-
| error | Enumeration indicating which error occurred |
The documentation for this class was generated from the following file: