GraphState Class

Class for serializing the complete state of the graph, including active messages and their histories.

Definition

Namespace: Quine.Schemas.Graph
Assembly: Quine.Schemas.Graph (in Quine.Schemas.Graph.dll) Version: 1.0.0+0ea0706914ee4edf2b0ed66bec3ab4d062a43b68
C#
[DataContractAttribute(Namespace = "http://schemas.quine.no/graph/v8_0.xsd")]
public class GraphState : GraphRuntimeHook
Inheritance
Object    GraphRuntimeHook    GraphState

Constructors

GraphStateInitializes a new instance of the GraphState class

Properties

CompletionState The graph's completion state.
Id "Local" id of this instance. This is valid only within the same graph.
(Inherited from GraphRuntimeHook)
Nodes Collection of nodes in the graph.
Owner Parent/owner of this node, or null.
(Inherited from GraphRuntimeHook)
PathId Provides IDs of all job nodes from the root (1st element) to this. The byte array is a sequence of integer ids with variable-length encoding (7-bit).
(Inherited from GraphRuntimeHook)
RuntimeObject The object implementing the actual behavior.
(Inherited from GraphRuntimeHook)
Trace Trace events generated during execution.

Methods

SetId Makes sure that node ids are assigned sequentially starting from id+1.
(Overrides GraphRuntimeHookSetId(ITreeIdentity, Int32))

See Also