![]() |
rodbus (C API) 1.3.1
|
Callback methods received from asynchronous write operations. More...
#include <rodbus.h>
Data Fields | |
| void(* | on_complete )(rodbus_nothing_t, void *) |
| Invoked when the asynchronous operation completes successfully. More... | |
| void(* | on_failure )(rodbus_request_error_t, void *) |
| Invoked when the asynchronous operation fails. More... | |
| void(* | on_destroy )(void *arg) |
| Callback when the underlying owner doesn't need the interface anymore. More... | |
| void * | ctx |
| Context data. More... | |
Callback methods received from asynchronous write operations.
| void* rodbus_write_callback_t::ctx |
Context data.
| void(* rodbus_write_callback_t::on_complete) (rodbus_nothing_t, void *) |
Invoked when the asynchronous operation completes successfully.
| result | response |
| ctx | Context data |
| void(* rodbus_write_callback_t::on_destroy) (void *arg) |
Callback when the underlying owner doesn't need the interface anymore.
| arg | Context data |
| void(* rodbus_write_callback_t::on_failure) (rodbus_request_error_t, void *) |
Invoked when the asynchronous operation fails.
| error | Enumeration indicating which error occurred |
| ctx | Context data |