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: 518
Currently Online:
17 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
hbrackel: 135
pramanj: 86
Francesco Zambon: 81
rocket science: 77
Ibrahim: 76
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
fred: 41
Member Stats:
Guest Posters: 0
Members: 681
Moderators: 16
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1467
Posts: 6261
Newest Members:
graciela2073, sagarchau, elviralangwell4, Donnavek, Eddiefauth, DonaldPooma, fidelduke938316, Jan-Pfizer, DavidROunc, fen.pang@woodside.comModerators: Jouni Aro: 1010, Otso Palonen: 32, Tuomas Hiltunen: 5, Pyry: 1, Petri: 0, Bjarne Boström: 983, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 26, Teppo Uimonen: 21, Markus Johansson: 42, Niklas Nurminen: 0, Matti Siponen: 321, Lusetti: 0, Ari-Pekka Soikkeli: 5
Administrators: admin: 1