edu.umass.cs.sase.engine
Class EventBuffer

java.lang.Object
  extended by edu.umass.cs.sase.engine.EventBuffer

public class EventBuffer
extends java.lang.Object

This class is used to buffer the selected events.

Author:
haopeng

Constructor Summary
EventBuffer()
           
 
Method Summary
 void bufferEvent(Event e)
          Buffers an event
 Event getEvent(int Id)
          This method returns the event with the provided event id.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventBuffer

public EventBuffer()
Method Detail

getEvent

public Event getEvent(int Id)
This method returns the event with the provided event id.

this method is awesome.

Parameters:
Id - The id of the event you want
Returns:
The event with the Id.

bufferEvent

public void bufferEvent(Event e)
Buffers an event

Parameters:
e - The event to be buffered