Handler for restart tasks.
More...
#include <dnp3.hpp>
|
virtual void | on_complete (std::chrono::steady_clock::duration result)=0 |
| Invoked when the asynchronous operation completes successfully. More...
|
|
virtual void | on_failure (RestartError error)=0 |
| Invoked when the asynchronous operation fails. More...
|
|
Handler for restart tasks.
- Note
- this class is an "interface" and only has pure virtual methods
◆ on_complete()
virtual void dnp3::RestartTaskCallback::on_complete |
( |
std::chrono::steady_clock::duration |
result | ) |
|
|
pure virtual |
Invoked when the asynchronous operation completes successfully.
- Parameters
-
result | Result of the restart task |
◆ on_failure()
virtual void dnp3::RestartTaskCallback::on_failure |
( |
RestartError |
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: