org.joone.engine
Class AbstractEventNotifier
- java.lang.Object
-
- org.joone.engine.AbstractEventNotifier
-
- All Implemented Interfaces:
- java.lang.Runnable
- Direct Known Subclasses:
- NetStoppedEventNotifier
public abstract class AbstractEventNotifier extends java.lang.Object implements java.lang.RunnableThis 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
-
-
Constructor Summary
Constructors Constructor and Description AbstractEventNotifier(Monitor mon)Creates a new instance of AbstractEventNotifier
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description abstract voidrun()The inherited classes must to override this method invoking into it the desired monitor.fireXXX methodvoidstart()
-
-
-
Constructor Detail
-
AbstractEventNotifier
public AbstractEventNotifier(Monitor mon)
Creates a new instance of AbstractEventNotifier
-
-
DataMelt 3.0 © DataMelt by jWork.ORG