ProcessPiping

implicit class ProcessPiping(process: UnboundProcess)

Extension methods for unbound processes enabling the creation of process groups

class Object
trait Matchable
class Any

Value members

Concrete methods

def pipeInto(other: UnboundProcess, channel: ProxPipe[Byte, Byte]): ProcessGroupImpl

Attaches the output of this process to an other process' input

Attaches the output of this process to an other process' input

Use the | or the via methods instead for more readability.

Value parameters:
channel

Pipe between the two processes

other

The other process

Returns:

Returns a ProcessGroup

def via(channel: ProxPipe[Byte, Byte]): PipeBuilderSyntax[ProcessGroupImpl]

Attaches the output of this process to an other process' input with a custom channel

Attaches the output of this process to an other process' input with a custom channel

There is a syntax helper step to allow the following syntax:

 val processGroup = process1.via(channel).to(process2)
Value parameters:
channel

Pipe between the two processes

Returns:

Returns a syntax helper trait that has a PipeBuilderSyntax.to method to finish the construction

Attaches the output of this process to an other process' input

Attaches the output of this process to an other process' input

Value parameters:
other

The other process

Returns:

Returns a ProcessGroup