util
Class Dispatcher
java.lang.Object
java.util.Observable
util.Dispatcher
public class Dispatcher
- extends Observable
A simplified Observable class that immediately notifies its Observers when its notifyAll() method is called. The changed state of the Dispatcher does not need to be separately set.
Method Summary |
void |
notifyAll(Object param)
Immediately notifies all the Observers held. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Dispatcher
public Dispatcher()
notifyAll
public void notifyAll(Object param)
- Immediately notifies all the Observers held.
- Parameters:
param
- An input parameter that is passed on to all the Observers.