Informational callbacks about the current state of an outstation association.
More...
#include <dnp3.hpp>
Informational callbacks about the current state of an outstation association.
- Note
- this class is an "interface" and only has virtual methods, some of which may have default implementations.
◆ task_fail()
| virtual void dnp3::AssociationInformation::task_fail |
( |
TaskType |
task_type, |
|
|
TaskError |
error |
|
) |
| |
|
pure virtual |
Called when a task fails.
- Parameters
-
| task_type | Type of task that was completed |
| error | Error that prevented
|
◆ task_start()
| virtual void dnp3::AssociationInformation::task_start |
( |
TaskType |
task_type, |
|
|
FunctionCode |
function_code, |
|
|
uint8_t |
seq |
|
) |
| |
|
pure virtual |
Called when a new task is started.
- Parameters
-
| task_type | Type of task that was started |
| function_code | Function code used by the task |
| seq | Sequence number of the request |
◆ task_success()
| virtual void dnp3::AssociationInformation::task_success |
( |
TaskType |
task_type, |
|
|
FunctionCode |
function_code, |
|
|
uint8_t |
seq |
|
) |
| |
|
pure virtual |
Called when a task successfully completes.
- Parameters
-
| task_type | Type of task that was completed |
| function_code | Function code used by the task |
| seq | Sequence number of the response that completed the request. This will typically be the same as the seq number in the request, except for READ requests where the response is multi-fragmented. |
◆ unsolicited_response()
| virtual void dnp3::AssociationInformation::unsolicited_response |
( |
bool |
is_duplicate, |
|
|
uint8_t |
seq |
|
) |
| |
|
pure virtual |
Called when an unsolicited response is received.
- Parameters
-
| is_duplicate | Is the unsolicited response a duplicate response |
| seq | Sequence number of the response |
The documentation for this class was generated from the following file: