|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ourgrid.peer.manager.FakeEventEngine
public class FakeEventEngine
The FakeEventEngine.
Constructor Summary | |
---|---|
FakeEventEngine()
Creates a fake JICEventHandler which will process the
events. |
Method Summary | |
---|---|
Event |
getEvent()
Returns the next Event to be processed. |
boolean |
isAlive()
Checks if the EBSyncShutdownable is alive. |
void |
putEvent(ActionEvent event)
Includes an Event to be processed by this
JICEventHandler . |
void |
run()
|
void |
shutdown(EventQueue<ShutdownResponseEvent> responseQueue)
Shuts down the object. |
void |
startProcessing()
Starts processing its events. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FakeEventEngine()
JICEventHandler
which will process the
events.
Method Detail |
---|
public void putEvent(ActionEvent event)
EventEngine
Event
to be processed by this
JICEventHandler
.
putEvent
in interface EventEngine<ActionEvent>
event
- The Event
to be included.public Event getEvent()
Event
to be processed.
public void startProcessing()
EventEngine
startProcessing
in interface EventEngine<ActionEvent>
public boolean isAlive()
EBSyncShutdownable
isAlive
in interface EBSyncShutdownable
public void run()
run
in interface java.lang.Runnable
public void shutdown(EventQueue<ShutdownResponseEvent> responseQueue)
EBSyncShutdownable
shutdown
in interface EBSyncShutdownable
responseQueue
- EventQueue
that will contain the
ShutdownResponseEvent
after the object had
successfully shutdown
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |