dnp3 (C API) 1.1.0
|
Informational callbacks about the current state of an outstation association. More...
#include <dnp3.h>
Data Fields | |
void(* | task_start )(dnp3_task_type_t, dnp3_function_code_t, uint8_t, void *) |
Called when a new task is started. More... | |
void(* | task_success )(dnp3_task_type_t, dnp3_function_code_t, uint8_t, void *) |
Called when a task successfully completes. More... | |
void(* | task_fail )(dnp3_task_type_t, dnp3_task_error_t, void *) |
Called when a task fails. More... | |
void(* | unsolicited_response )(bool, uint8_t, void *) |
Called when an unsolicited response is received. More... | |
void(* | on_destroy )(void *arg) |
Callback when the underlying owner doesn't need the interface anymore. More... | |
void * | ctx |
Context data. More... | |
Informational callbacks about the current state of an outstation association.
void* dnp3_association_information_t::ctx |
Context data.
void(* dnp3_association_information_t::on_destroy) (void *arg) |
Callback when the underlying owner doesn't need the interface anymore.
arg | Context data |
void(* dnp3_association_information_t::task_fail) (dnp3_task_type_t, dnp3_task_error_t, void *) |
Called when a task fails.
task_type | Type of task that was completed |
error | Error that prevented |
ctx | Context data |
void(* dnp3_association_information_t::task_start) (dnp3_task_type_t, dnp3_function_code_t, uint8_t, void *) |
Called when a new task is started.
task_type | Type of task that was started |
function_code | Function code used by the task |
seq | Sequence number of the request |
ctx | Context data |
void(* dnp3_association_information_t::task_success) (dnp3_task_type_t, dnp3_function_code_t, uint8_t, void *) |
Called when a task successfully completes.
task_type | Type of task that was completed |
function_code | Function code used by the task |
seq | Sequence number of the request |
ctx | Context data |
void(* dnp3_association_information_t::unsolicited_response) (bool, uint8_t, void *) |
Called when an unsolicited response is received.
is_duplicate | Is the unsolicited response a duplicate response |
seq | Sequence number of the response |
ctx | Context data |