Write(IPipeMessage)

Handle the incoming message.
Namespace: Pipes.PlumbingAssembly: Pipes in (Pipes.dll)

Syntax

C#
public bool Write(
	IPipeMessage message
	)

Parameters

Returns

Boolean

Remarks

Normal messages are enqueued.

The FLUSH message type tells the Queue to write all stored messages to the ouptut PipeFitting, then return to normal enqueing operation.

The SORT message type tells the Queue to sort all incoming messages by priority. If there are unflushed messages in the queue, they will not be sorted unless a new message is sent before the next FLUSH. Sorting-by-priority behavior continues even after a FLUSH, and can be turned off by sending a FIFO message, which is the default behavior for enqueue/dequeue.