Back |
Indexclass jabber.util.Dispatcher<T>
- var listeners : Array<TListener<T>>
- function new() : Void
- function addHandler(f : e : T -> Void) : TListener<T>
-
Wraps given handler function into event.Listener object. f : T->Dynamic
- function addListener(l : TListener<T>) : TListener<T>
-
- function clear() : Void
- function dispatchEvent(e : T) : Bool
-
Dispatches value to all registered listeners and handlers.
- function removeListener(l : TListener<T>) : TListener<T>
-
- static function stop() : Void
Back |
Index