|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gecco.server.qmanager.QManager
This class manages the queue of AutomatonEvents and QueuedAutomatons.
Field Summary |
Fields inherited from interface gecco.util.SignalRunnable |
SIGKILL, SIGNONE, SIGPAUSE, SIGQUIT, SIGRESUME |
Constructor Summary | |
QManager()
Constructor for the QManager object |
Method Summary | |
void |
addEventToQueue(AutomatonEvent event,
int x,
int y)
Adds an event to the event queue |
LinkedList |
getAutomatonEventQueue()
Gets the queue of AutomatonEvents |
TreeSet |
getAutomatonQueue()
Gets the queue of automatons |
void |
run()
Main processing method for the QManager object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public QManager()
Method Detail |
public TreeSet getAutomatonQueue()
public LinkedList getAutomatonEventQueue()
public void addEventToQueue(AutomatonEvent event, int x, int y)
event
- The event to be added.x
- The x coordinate of the position of the event.y
- The y coordinate of the position of the event.public void run()
run
in interface Runnable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |