InputPortT Class

Type-erased implementation of input port; InputPortT for a strongly-typed class.

Definition

Namespace: Quine.Graph
Assembly: Quine.Graph (in Quine.Graph.dll) Version: 1.0.0+0ea0706914ee4edf2b0ed66bec3ab4d062a43b68
C#
public sealed class InputPort<T> : GraphSchemaHook<InputPortState<T>>, 
	IInputPort, ITreeIdentity, IIdentity<int>, IDynamicIdentity
where T : GraphMessage
Inheritance
Object    GraphSchemaHook    GraphSchemaHookInputPortStateT    InputPortT
Implements
IInputPort, IDynamicIdentity, IIdentityInt32, ITreeIdentity

Type Parameters

T

Properties

Id
(Inherited from GraphSchemaHook)
Owner Parent/owner of this node, or null.
(Inherited from GraphSchemaHook)
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 GraphSchemaHook)
State Strongly-typed state. This is NOT an override, but hiding.
(Inherited from GraphSchemaHookT)

Methods

Dequeue Dequeues a message. Blocks until a message is available.

Events

MessageEnqueued Called before the message has been enqueued to the port. The arguments to the event are the sending port and the message being enqueued.

See Also