17:28, EEST
August 5, 2015
Hi,
I want to brows on a server all components attached, to see which objects are there.
Now my question is follow:
I put the results into a list for future use.
Therefore I see two possibilities:
1. get the references, and store the ExpandedNodeId or NodeId
2. get the components and store the UaNode.
The second possibility seams for me more nice, because then I don’t have References to nodes which are just as organizers there.
But what I am thinking about is follow:
If I load a UaNode instead a NodeId, does it load as well the whol subtree of it? or is it just the UaNode?
Is there many difference between the used dataspace if I store them in a list?
Thank you for your answer.
11:08, EEST
April 3, 2012
Hi,
It depends what you want do with the nodes later. Loading an UaNode (AddressSpace.getNode) loads all attributes and references. The references that are HasProperty are loaded completely, other references are stored as NodeId in a way that if you do call getXXXNode methods on UaReference it gets the node (AddressSpace.getNode internally). Storing UaNodes takes more space than storing just NodeIds (since a NodeId is similar to a pointer/reference in a programming language and the UaNode is similar to an object containing all the data).
– Bjarne
Most Users Ever Online: 1919
Currently Online:
19 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: 738
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1524
Posts: 6451
Newest Members:
jonathonmcintyre, fannielima, kristiewinkle8, rust, christamcdowall, redaahern07571, nigelbdhmp, travistimmons, AnnelCib, dalenegettingerModerators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1026, Jimmy Ni: 26, Matti Siponen: 346, Lusetti: 0
Administrators: admin: 1