IPipeFitting

Pipe Fitting Interface.
Namespace: Pipes.InterfacesAssembly: Pipes in (Pipes.dll)

Syntax

C#
public interface IPipeFitting 

Remarks

An `IPipeFitting` can be connected to other `IPipeFittings`, forming a Pipeline. `IPipeMessages` are written to one end of a Pipeline by some client code. The messages are then transfered in synchronous fashion from one fitting to the next.

Methods

Connect another Pipe Fitting to the output. other fittings in a one way syncrhonous chain, as water typically flows one direction through a physical pipe.
Disconnect the Pipe Fitting connected to the output.
Write the message to the output Pipe Fitting.