10:09, EEST
March 31, 2022
10:31, EEST
April 3, 2012
Hi,
There is no automatic logic yet for those metadata nodes. In practice as far as I’m aware almost nothing yet uses those.
IF you just meant how the NamespaceArray is to be updated, it can be done via
server.getNodeManagerRoot().getServerData().updateNamespaceArray();
(If you add them after starting, this happens internally on start automatically)
As to adding a NamespaceMetadataType instance(s) below the Server/Namespaces can be done as adding “any other node” with the SDK, as “they are just nodes”. As to how to do that, open the MyNodeManager in the sampleconsoleserver example and seach for “createInstance”. That is to say, something like
instance = nodeManagerUaNode.createInstance(NamespaceMetadataTypeNode.class, …)
You must then also attach it via the reference + fill the data. Since it (NamespaceMetadataTypeNode) is a base information model type that is generated to the SDK (by us), you can use just e.g. instance.setNamespaceVersion(…) etc.
Most Users Ever Online: 1919
Currently Online:
18 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 88
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 735
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1523
Posts: 6449
Newest Members:
rust, christamcdowall, redaahern07571, nigelbdhmp, travistimmons, AnnelCib, dalenegettinger, howardkennerley, Thomassnism, biancacraft16Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1026, Jimmy Ni: 26, Matti Siponen: 346, Lusetti: 0
Administrators: admin: 1