|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.abraracourcix.alipes.pipes.Multiplexor
Multiplexes an event to several listeners
| Constructor Summary | |
Multiplexor()
|
|
| Method Summary | |
void |
addListener(Listener listener)
Add a new one |
void |
clear()
Clear the list of listeners |
void |
eventOccurred(Event event,
java.lang.Object resource)
something happened - pass the word on |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Multiplexor()
| Method Detail |
public final void addListener(Listener listener)
listener - Listener to add
public final void eventOccurred(Event event,
java.lang.Object resource)
throws MultiplexorException
eventOccurred in interface Listenerevent - the eventresource - happened to this resouce
MultiplexorException - if one or more of the underlying listeners throws an exception, but processing continues across all the listeners even it doesListener.eventOccurred(org.abraracourcix.alipes.common.Event, java.lang.Object)public void clear()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||