|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.bus.spi.AbstractDispatcher | +--net.sf.bus.spi.AsyncDispatcher
Delivers messages to all subscribers in an asynchronous manner. The implementation uses a QueuedExecutor to dispatch each published message on a background thread, in order
Constructor Summary | |
AsyncDispatcher()
|
Method Summary | |
void |
dispatch(java.lang.Object message,
java.util.Iterator subscribers)
Dispatch the message using the given master list of subscribers |
Methods inherited from class net.sf.bus.spi.AbstractDispatcher |
createFilter, processDispatch |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AsyncDispatcher()
Method Detail |
public void dispatch(java.lang.Object message, java.util.Iterator subscribers)
Dispatcher
net.sf.bus.spi.Dispatcher
message
- the message Objectsubscribers
- an Iterator
pointing to the master list of subscribers, that
must be filtered by the dispatcher.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |