dnp3 (C API) 1.1.0
|
General handler that will receive all values read from the outstation. More...
#include <dnp3.h>
General handler that will receive all values read from the outstation.
void(* dnp3_read_handler_t::begin_fragment) (dnp3_read_type_t, dnp3_response_header_t, void *) |
Marks the beginning of a fragment.
read_type | Describes what triggered the read event |
header | Header of the fragment |
ctx | Context data |
void* dnp3_read_handler_t::ctx |
Context data.
void(* dnp3_read_handler_t::end_fragment) (dnp3_read_type_t, dnp3_response_header_t, void *) |
Marks the end of a fragment.
read_type | Describes what triggered the read event |
header | Header of the fragment |
ctx | Context data |
void(* dnp3_read_handler_t::handle_analog_input) (dnp3_header_info_t, dnp3_analog_input_iterator_t *, void *) |
Handle analog input data.
info | Group/variation and qualifier information |
it | Iterator of point values in the response. This iterator is valid only within this call. Do not copy it. |
ctx | Context data |
void(* dnp3_read_handler_t::handle_analog_output_status) (dnp3_header_info_t, dnp3_analog_output_status_iterator_t *, void *) |
Handle analog output status data.
info | Group/variation and qualifier information |
it | Iterator of point values in the response. This iterator is valid only within this call. Do not copy it. |
ctx | Context data |
void(* dnp3_read_handler_t::handle_binary_input) (dnp3_header_info_t, dnp3_binary_input_iterator_t *, void *) |
Handle binary input data.
info | Group/variation and qualifier information |
it | Iterator of point values in the response. This iterator is valid only within this call. Do not copy it. |
ctx | Context data |
void(* dnp3_read_handler_t::handle_binary_output_status) (dnp3_header_info_t, dnp3_binary_output_status_iterator_t *, void *) |
Handle binary output status data.
info | Group/variation and qualifier information |
it | Iterator of point values in the response. This iterator is valid only within this call. Do not copy it. |
ctx | Context data |
void(* dnp3_read_handler_t::handle_counter) (dnp3_header_info_t, dnp3_counter_iterator_t *, void *) |
Handle counter data.
info | Group/variation and qualifier information |
it | Iterator of point values in the response. This iterator is valid only within this call. Do not copy it. |
ctx | Context data |
void(* dnp3_read_handler_t::handle_double_bit_binary_input) (dnp3_header_info_t, dnp3_double_bit_binary_input_iterator_t *, void *) |
Handle double-bit binary input data.
info | Group/variation and qualifier information |
it | Iterator of point values in the response. This iterator is valid only within this call. Do not copy it. |
ctx | Context data |
void(* dnp3_read_handler_t::handle_frozen_counter) (dnp3_header_info_t, dnp3_frozen_counter_iterator_t *, void *) |
Handle frozen counter input data.
info | Group/variation and qualifier information |
it | Iterator of point values in the response. This iterator is valid only within this call. Do not copy it. |
ctx | Context data |
void(* dnp3_read_handler_t::handle_octet_string) (dnp3_header_info_t, dnp3_octet_string_iterator_t *, void *) |
Handle octet string data.
info | Group/variation and qualifier information |
it | Iterator of point values in the response. This iterator is valid only within this call. Do not copy it. |
ctx | Context data |
void(* dnp3_read_handler_t::on_destroy) (void *arg) |
Callback when the underlying owner doesn't need the interface anymore.
arg | Context data |