| Package | com.adobe.kiwi.connections.utils |
| Class | public class AsyncResponder |
| Function | Defined by | ||
|---|---|---|---|
|
setNextEventHandler(eventDispatcher:IEventDispatcher, eventHandlerFunc:Function, eventName:String, faultHandlerFunc:Function = null, faultEventName:String = null):void
Defines the next event handler for this responder.
| AsyncResponder | ||
public function setNextEventHandler(eventDispatcher:IEventDispatcher, eventHandlerFunc:Function, eventName:String, faultHandlerFunc:Function = null, faultEventName:String = null):void
This object will register to listen for the designated event to be dispatched from the designated event dispatcher, and call the designated handler function when that event is received.
ParameterseventDispatcher:IEventDispatcher — the object which will dispatch the next event
|
|
eventHandlerFunc:Function — the function to call when the event is received
|
|
eventName:String — the event to listen for
|
|
faultHandlerFunc:Function (default = null) — the function to call if a fault event is received
(null indicates that the previous faultHandlerFunc should be used)
|
|
faultEventName:String (default = null) — the fault event to listen for
(null indicates that the previous faultEventName should be used)
|
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/labs/kiwi/connections/com/adobe/kiwi/connections/utils/AsyncResponder.html