20 import ca.uqac.lif.cep.Pullable;
21 import ca.uqac.lif.cep.Pushable;
22 import ca.uqac.lif.cep.io.Print;
23 import ca.uqac.lif.cep.tmf.QueueSource;
33 public static void main(String[] args)
throws InterruptedException
36 QueueSource source =
new QueueSource().setEvents(1, 2, 3, 4);
37 Print print =
new Print();
38 Pullable pl = source.getPullableOutput();
39 Pushable ps = print.getPushableInput();
Print events from a queue source without the use of a pump.