![]() |
rodbus (C API) 1.3.1
|
Callback for monitoring the state of a TCP/TLS connection state. More...
#include <rodbus.h>
Data Fields | |
| void(* | on_change )(rodbus_client_state_t, void *) |
| Called when the client state changed. More... | |
| void(* | on_destroy )(void *arg) |
| Callback when the underlying owner doesn't need the interface anymore. More... | |
| void * | ctx |
| Context data. More... | |
Callback for monitoring the state of a TCP/TLS connection state.
| void* rodbus_client_state_listener_t::ctx |
Context data.
| void(* rodbus_client_state_listener_t::on_change) (rodbus_client_state_t, void *) |
Called when the client state changed.
| state | New state |
| ctx | Context data |
| void(* rodbus_client_state_listener_t::on_destroy) (void *arg) |
Callback when the underlying owner doesn't need the interface anymore.
| arg | Context data |