Code Examples
A repository of 155 code examples for BeepBeep
basic.PipingUnaryMissing Class Reference

Instantiates two processors, but forgets to connect them. More...

Static Public Member Functions

static void main (String[] args)
 

Detailed Description

Instantiates two processors, but forgets to connect them.

This example is identical to PipingUnary, but without the call to

connect

.

Processor graph

Notice how a pipe between the source and the Doubler processor is missing. Attempting to call

pull

on

doubler

will throw an exception. The expected output of the program should look like this:

Exception in thread "main" ca.uqac.lif.cep.Pullable$PullableException: Input 0 of this processor is connected to nothing
 at ca.uqac.lif.cep.SynchronousProcessor$OutputPullable.hasNext(SynchronousProcessor.java:396)
 at ca.uqac.lif.cep.SynchronousProcessor$OutputPullable.pull(SynchronousProcessor.java:354)
 at basic.PipingUnaryMissing.main(PipingUnaryMissing.java:51)
See also
PipingUnary
Author
Sylvain Hallé Easy

Definition at line 43 of file PipingUnaryMissing.java.


The documentation for this class was generated from the following file: