org.drools.examples.broker.events
Class EventFeeder

java.lang.Object
  extended by org.drools.examples.broker.events.EventFeeder

public class EventFeeder
extends Object

An event feeder reads an event data file and publishes the read events to the consumer


Constructor Summary
EventFeeder(org.drools.time.TimerService clock, EventSource source, EventReceiver sink)
           
 
Method Summary
 void feed()
          For this simple demo, we are loading the whole stream of events into the memory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventFeeder

public EventFeeder(org.drools.time.TimerService clock,
                   EventSource source,
                   EventReceiver sink)
Method Detail

feed

public void feed()
For this simple demo, we are loading the whole stream of events into the memory.



Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.