![sp_Feed](https://forum.prosysopc.com/wp-content/sp-resources/forum-themes/default/images/sp_Feed.png)
![sp_TopicIcon](https://forum.prosysopc.com/wp-content/sp-resources/forum-themes/default/images/sp_TopicIcon.png)
17:28, EEST
![Avatar](https://forum.prosysopc.com/wp-content/sp-resources/forum-avatars/defaults/userdefault.png)
August 5, 2015
![sp_UserOfflineSmall](https://forum.prosysopc.com/wp-content/sp-resources/forum-themes/default/images/sp_UserOfflineSmall.png)
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
![Avatar](https://forum.prosysopc.com/wp-content/sp-resources/forum-avatars/defaults/moderatordefault.png)
April 3, 2012
![sp_UserOfflineSmall](https://forum.prosysopc.com/wp-content/sp-resources/forum-themes/default/images/sp_UserOfflineSmall.png)
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: 518
Currently Online:
8 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 142
pramanj: 86
rocket science: 85
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 724
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1495
Posts: 6352
Newest Members:
armandovarley, dole, rustyhammer, braydenaquino6, blaircleveland0, maribelkeeler7, Nicky, rickymeade2, niamhtoussaint0, adamq0505309Moderators: Jouni Aro: 1017, Pyry: 1, Petri: 0, Bjarne Boström: 1003, Jimmy Ni: 26, Matti Siponen: 337, Lusetti: 0
Administrators: admin: 1