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: 731
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1529
Posts: 6471
Newest Members:
inilarythikibia, rickykennion, PromotionToold, HypromeImpupe, toneylapham544, rondawolinski7, Marypof5711, roycedelargie91, kourtneyquisenbe, ellis87832073466Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0
Administrators: admin: 1