|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectariba.util.core.EventQueue
public class EventQueue
A simple queue of events that can be added to and waited on by multiple threads
Constructor Summary | |
---|---|
EventQueue()
|
Method Summary | |
---|---|
void |
addEvent(EventProcessor anEvent)
Places anEvent on the event queue. |
EventProcessor |
getNextEvent()
Removes and returns the next EventProcessor from the EventLoop's event queue. |
EventProcessor |
getNextEventIfAny()
|
int |
queueLength()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EventQueue()
Method Detail |
---|
public int queueLength()
public void addEvent(EventProcessor anEvent)
public EventProcessor getNextEvent()
public EventProcessor getNextEventIfAny()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |