Queue

Pipe Queue.

Inheritance

ObjectPipeQueue
Namespace: Pipes.PlumbingAssembly: Pipes in (Pipes.dll)

Syntax

C#
public class Queue : Pipe

Remarks

The Queue always stores inbound messages until you send it a FLUSH control message, at which point it writes its buffer to the output pipe fitting. The Queue can be sent a SORT control message to go into sort-by-priority mode or a FIFO control message to cancel sort mode and return the default mode of operation, FIFO.

NOTE: There can effectively be only one Queue on a given pipeline, since the first Queue acts on any queue control message. Multiple queues in one pipeline are of dubious use, and so having to name them would make their operation more complex than need be.

Constructors

Queue constructor

Methods

Flush the queue.
Store a message.
Handle the incoming message.

Properties

List to store messages
Get or Set the mode.