|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ourgrid.mygrid.ui.gui.GuiEventEngine
public class GuiEventEngine
This class is responsible for receiving events that come from the
EBSchedulerFacade
and process them.
Constructor Summary | |
---|---|
GuiEventEngine(MyGridGUI gui)
Creates a new PeerEventEngine . |
Method Summary | |
---|---|
boolean |
isAlive()
|
void |
putEvent(GUIActionEvent event)
Inserts a Event - to be processed - into a internal
EventQueue . |
void |
run()
Consumes events from internal EventQueue . |
void |
startProcessing()
Begin consuming of events. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GuiEventEngine(MyGridGUI gui)
PeerEventEngine
.
Method Detail |
---|
public void startProcessing()
process()
method) them.
startProcessing
in interface EventEngine<GUIActionEvent>
public void putEvent(GUIActionEvent event)
Event
- to be processed - into a internal
EventQueue
.
putEvent
in interface EventEngine<GUIActionEvent>
event
- A Event
to be processed.public void run()
EventQueue
. In other words,
it removes events from the queue and process (call the process()
method) them.
run
in interface java.lang.Runnable
public boolean isAlive()
EBSyncShutdownable.isAlive()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |