dnp3 (C API) 1.1.0
|
Callback interface for connection state events. More...
#include <dnp3.h>
Data Fields | |
void(* | on_change )(dnp3_connection_state_t, void *) |
Called when the connection state changes. More... | |
void(* | on_destroy )(void *arg) |
Callback when the underlying owner doesn't need the interface anymore. More... | |
void * | ctx |
Context data. More... | |
Callback interface for connection state events.
void* dnp3_connection_state_listener_t::ctx |
Context data.
void(* dnp3_connection_state_listener_t::on_change) (dnp3_connection_state_t, void *) |
Called when the connection state changes.
state | New state of the connection |
ctx | Context data |
void(* dnp3_connection_state_listener_t::on_destroy) (void *arg) |
Callback when the underlying owner doesn't need the interface anymore.
arg | Context data |