Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.Runnable

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

Author:
  pmarrone

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

### monitor

    protected Monitor monitor

Constructor Detail

### AbstractEventNotifier

    public AbstractEventNotifier(Monitor mon)

  Creates a new instance of AbstractEventNotifier

Method Detail

### run

    public abstract void run()

  The inherited classes must to override this method invoking into it the desired monitor.fireXXX method

  Specified by:
    `run` in interface `java.lang.Runnable`

### start

    public void start()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Submit Feedback to pmarrone@users.sourceforge.net