java.lang.Object
provided.utils.dispatcher.impl.ADispatcher<TMsg>
provided.utils.dispatcher.impl.SequentialDispatcher<TMsg>
- Type Parameters:
TMsg
- The type of message being sent to the observers.
- All Implemented Interfaces:
IDispatcher<TMsg>
A simple dispatcher that updates its observers sequentially on a single thread.
- Author:
- swong
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class provided.utils.dispatcher.impl.ADispatcher
addObserver, getAllObservers, getObserverSet, removeAllObservers, removeObserver
-
Constructor Details
-
SequentialDispatcher
public SequentialDispatcher()
-
-
Method Details
-
updateAll
Description copied from interface:IDispatcher
Send the given message to all the observers in the dispatcher- Parameters:
msg
- The IMsg to send to all the observers
-