High Performance OPC UA Server SDK
1.2.0.193
|
Extends the NodeId structure by allowing the NamespaceUri to be explicitly specified instead of using the NamespaceIndex. More...
#include <expandednodeid.h>
Public Member Functions | |
void | ua_expandednodeid_init (struct ua_expandednodeid *t) |
void | ua_expandednodeid_clear (struct ua_expandednodeid *t) |
int | ua_expandednodeid_compare (const struct ua_expandednodeid *a, const struct ua_expandednodeid *b) |
int | ua_expandednodeid_copy (struct ua_expandednodeid *dst, const struct ua_expandednodeid *src) |
int | ua_expandednodeid_to_string (const struct ua_expandednodeid *id, struct ua_string *dst) |
int | ua_expandednodeid_snprintf (char *dst, size_t size, const struct ua_expandednodeid *id) |
int | ua_expandednodeid_from_string (struct ua_expandednodeid *id, const struct ua_string *src) |
Data Fields | |
struct ua_nodeid | id |
The NodeId for a node in the adress space (see ua_nodeid). | |
struct ua_string | ns_uri |
This index is the index of that Server in the local Server’s Server table. More... | |
uint32_t | server_index |
The URI of the namespace. More... | |
Extends the NodeId structure by allowing the NamespaceUri to be explicitly specified instead of using the NamespaceIndex.
The NamespaceUri is optional. If it is specified, the NamespaceIndex inside the NodeId shall be ignored.
An instance of an ExpandedNodeId may still use the NamespaceIndex instead of the NamespaceUri. In this case, the NamespaceUri is ignored.
ns_uri |
This index is the index of that Server in the local Server’s Server table.
The index of the local Server in the Server table is always 0. All remote Servers have indexes greater than 0. The Server table is contained in the Server Object in the address space (see Part 3 and Part 5 of the OPC UA Specification). The Client may read the Server table Variable to access the description of the target Server.
server_index |
The URI of the namespace.
If this parameter is specified, the namespace index is ignored.