High Performance OPC UA Server SDK
1.1.0.158
|
Provider context. More...
#include <provider.h>
Data Fields | |
uint16_t | nsindices [MAX_NAMESPACES_PER_PROVIDER] |
uint16_t | num_nsindices |
void(* | cleanup )(void) |
Function that is called when the provider is removed. More... | |
void(* | node_delete )(ua_node_t node) |
Node delete handler function. More... | |
void(* | read )(struct uaprovider_read_ctx *ctx) |
Read service handler function. | |
void(* | write )(struct uaprovider_write_ctx *ctx) |
Write service handler function. | |
void(* | call )(struct uaprovider_call_ctx *ctx) |
Call service handler function. | |
void(* | registernodes )(struct uaprovider_registernodes_ctx *ctx) |
Register nodes service handler function. | |
void(* | unregisternodes )(struct uaprovider_unregisternodes_ctx *ctx) |
Unregister nodes service handler function. | |
ua_statuscode(* | add_item )(struct ua_monitoreditem *item, uint32_t max_items) |
Add monitoreditem operation handler function. | |
ua_statuscode(* | remove_item )(struct ua_monitoreditem *item, uint32_t max_items) |
Remove monitoreditem operation handler function. | |
ua_statuscode(* | modify_item )(struct ua_monitoreditem *item, uint32_t max_items, uint32_t new_sampling_interval) |
Modify monitoreditem operation handler function. | |
void(* | subscribe )(struct uaprovider_subscribe_ctx *ctx) |
Subscribe operation handler function. | |
Provider context.
Struct with provider service handler functions and namespaces the provider has registered.
void(* cleanup)(void) |
Function that is called when the provider is removed.
void(* node_delete)(ua_node_t node) |
Node delete handler function.
This function is called before the node gets deleted. This gives you the chance to remove resources of underlying IO, when the node gets deleted.