com.isti.util.queue
Interface EventQueue


public interface EventQueue

An event queue is an object into which events are pushed and pulled. Pushing an event is adding an event to this queue, pulling an event is retrieving an event from this queue. Events in the queue can be either Untyped, Structured, StructuredSequence and Type events.


Method Summary
 int getQueueSize()
          Return the current queue size
 boolean isEmpty()
          Indicate if the event queue is empty
 java.lang.Object pullEvent()
          Pull an event from the queue
 void pushEvent(java.lang.Object event)
          Push an event into the queue
 

Method Detail

pushEvent

void pushEvent(java.lang.Object event)
Push an event into the queue


pullEvent

java.lang.Object pullEvent()
Pull an event from the queue


getQueueSize

int getQueueSize()
Return the current queue size


isEmpty

boolean isEmpty()
Indicate if the event queue is empty