Code Examples
A repository of 155 code examples for BeepBeep
|
Instantiates two processors, but forgets to connect them. More...
Static Public Member Functions | |
static void | main (String[] args) |
Instantiates two processors, but forgets to connect them.
This example is identical to PipingUnary, but without the call to
.
Notice how a pipe between the source and the Doubler processor is missing. Attempting to call
on
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)
Definition at line 43 of file PipingUnaryMissing.java.