EventBroadcaster
SpeedEventBroadcaster
broadcasts events to listeners in the fastest way
possible. It does therefore not support any kind of special functionalities like
consuming events.
public function removeAllListeners(Void):Void
Removes all added listeners.
removeAllListeners() in org.as2lib.env.event.EventListenerSource
removeAllListeners() in org.as2lib.env.event.SimpleEventListenerSource
public function dispatch(eventInfo:EventInfo):Void
Dispatches the passed-in eventInfo
to all added listeners.
The name returned by the EventInfo.getName method of the passed-in
eventInfo
is used as event method name to invoke on the listeners.
The passed-in eventInfo
is also passed as parameter to the listeners'
event methods.
eventInfo | the event to dispatch to all listeners |
EventExecutionException | if a listener threw an exception during dispatching |
dispatch() in org.as2lib.env.event.broadcaster.EventBroadcaster