|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.joone.engine.AbstractEventNotifier
public abstract class AbstractEventNotifier
This class raises an event notification invoking the corrisponnding Monitor.fireXXX method. The event is raised from within a separate Thread to avoid the race conditions to happen
Field Summary | |
---|---|
protected Monitor |
monitor
|
Constructor Summary | |
---|---|
AbstractEventNotifier(Monitor mon)
Creates a new instance of AbstractEventNotifier |
Method Summary | |
---|---|
abstract void |
run()
The inherited classes must to override this method invoking into it the desired monitor.fireXXX method |
void |
start()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Monitor monitor
Constructor Detail |
---|
public AbstractEventNotifier(Monitor mon)
Method Detail |
---|
public abstract void run()
run
in interface java.lang.Runnable
public void start()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |