|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.abraracourcix.alipes.monitors.AbstractMonitor
Does most of the grunt work of a monitor, signalling the listeners. Subclasses need to implement the pole method, and should call eventOccurred when they have something to say.
| Constructor Summary | |
AbstractMonitor(Listener listener)
Constructor |
|
| Method Summary | |
protected void |
signalListener(Event event,
java.lang.Object resource)
Subclasses can call this to signal to the listener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractMonitor(Listener listener)
listener - who's listening to this monitor?| Method Detail |
protected final void signalListener(Event event,
java.lang.Object resource)
throws ListenerException
event - what happenedresource - to whom?
ListenerException - whoopsie - the Listener threw something
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||