High Performance OPC UA Server SDK  1.2.0.193

Access for nodeclass method specific attributes. More...

Functions

int ua_method_set_index (ua_node_t node, unsigned int methodindex)
 Set the method index of a method node. More...
 
int ua_method_get_index (ua_node_t node, unsigned int *methodindex)
 Get the method index of a method node. More...
 
int ua_method_get_executable (ua_node_t node, bool *executable)
 Sets the executable bit on the given method. More...
 
int ua_method_set_executable (ua_node_t node, bool executable)
 Sets the executable bit on the given method. More...
 

Detailed Description

Access for nodeclass method specific attributes.

Function Documentation

int ua_method_get_executable ( ua_node_t  node,
bool *  executable 
)

Sets the executable bit on the given method.

Parameters
nodeNode handle of method.
executablePointer to boolean variable where the executable status will be returned.
Returns
Zero on success, a negative error code on failure.
int ua_method_get_index ( ua_node_t  node,
unsigned int *  methodindex 
)

Get the method index of a method node.

Parameters
nodeNode handle of method.
methodindexPointer to value where the method index is written to.
Returns
Zero on success, or errorcode on failure.
int ua_method_set_executable ( ua_node_t  node,
bool  executable 
)

Sets the executable bit on the given method.

Parameters
nodeNode handle of method.
executableBool variable containing the executable status.
Returns
Zero on success, a negative error code on failure.
int ua_method_set_index ( ua_node_t  node,
unsigned int  methodindex 
)

Set the method index of a method node.

The method index can be used to store an index to a function implementing the method to be executed.

Parameters
nodeNode handle of method.
methodindexValue for the method index
Returns
Zero on success, or errorcode on failure.