20 import java.util.Queue;
22 import ca.uqac.lif.cep.Pushable;
23 import ca.uqac.lif.cep.tmf.QueueSink;
43 public static void main(String[] args)
46 QueueSink sink =
new QueueSink();
48 Pushable p = sink.getPushableInput();
53 Queue<Object> queue = sink.getQueue();
54 System.out.println(
"Events in the sink: " + queue);
58 System.out.println(
"Events in the sink: " + queue);
Push events into a QueueSink processor.
static void main(String[] args)