PortStateBase Class

Base class for input and output ports.

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", 
	IsReference = true)]
[KnownTypeAttribute("GetKnownTypes")]
public abstract class PortStateBase : GraphRuntimeHook
Inheritance
Object    GraphRuntimeHook    PortStateBase
Derived

Constructors

PortStateBase Constructor.

Properties

Id "Local" id of this instance. This is valid only within the same graph.
(Inherited from GraphRuntimeHook)
MessageType Assembly-qualified name of the port's message type.
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)

Methods

RegisterMessageType This method is used to register message types that are carried over ports.
SetId Sets id and path id on this.
(Inherited from GraphRuntimeHook)

Fields

KnownTypes All concrete port types must be registered here; RegisterMessageType(Type).

See Also