Difference between revisions of "State"

From Organic Design wiki
(embed nodeDATA)
m
Line 1: Line 1:
 
[[Category:Glossary]][[Category:Nodal Concepts]]
 
[[Category:Glossary]][[Category:Nodal Concepts]]
[[+nodeDATA|]]
+
All [[node]]s can have non-nodal content like file-handles or objects associated with them similar to the way emails can have non-plain-text data as attchments. Every node exhibits such a ''state'' which is its encapsulation of the concept it represents ''in terms of the local [[Wikipedia:Runtime|runtime]] environment''. If the node has no representation in terms of the local environment, then a request of its state returns the local representation of ''void''.
 +
 
 +
The [[peerd.c]] implementation maintains a list of pointers (the ''**pointers'' global variable) to non-nodal content. Node's values can be used as an index into the pointer list instead of as a [[node reference]].

Revision as of 18:15, 8 November 2006

All nodes can have non-nodal content like file-handles or objects associated with them similar to the way emails can have non-plain-text data as attchments. Every node exhibits such a state which is its encapsulation of the concept it represents in terms of the local runtime environment. If the node has no representation in terms of the local environment, then a request of its state returns the local representation of void.

The peerd.c implementation maintains a list of pointers (the **pointers global variable) to non-nodal content. Node's values can be used as an index into the pointer list instead of as a node reference.