| Package | org.flexunit.async |
| Class | public class AsyncNativeTestResponder |
| Inheritance | AsyncNativeTestResponder flash.net.Responder |
| Implements | flash.events.IEventDispatcher |
| Method | Defined By | ||
|---|---|---|---|
AsyncNativeTestResponder(resultHandler:Function, faultHandler:Function)
Constructor. | AsyncNativeTestResponder | ||
fault(info:Object):void
Dispatches an AsyncResponseEvent with the orignalResponder, a "fault" status, and the provided info object. | AsyncNativeTestResponder | ||
result(data:Object):void
Dispatches an AsyncResponseEvent with the orignalResponder, a "result" status, and the provided info object. | AsyncNativeTestResponder | ||
| Event | Summary | Defined By | ||
|---|---|---|---|---|
| The 'responderFired' event is fired when either a result or fault is dispatched. | AsyncNativeTestResponder | |||
| AsyncNativeTestResponder | () | Constructor |
public function AsyncNativeTestResponder(resultHandler:Function, faultHandler:Function)Constructor.
ParametersresultHandler:Function — The responder to be passed when the AsyncResponseEvent is dispatched.
| |
faultHandler:Function |
| fault | () | method |
public function fault(info:Object):voidDispatches an AsyncResponseEvent with the orignalResponder, a "fault" status, and the provided info object.
Parameters
info:Object |
| result | () | method |
public function result(data:Object):voidDispatches an AsyncResponseEvent with the orignalResponder, a "result" status, and the provided info object.
Parameters
data:Object |
| responderFired | Event |
net.digitalprimates.fluint.events.AsyncResponseEventThe 'responderFired' event is fired when either a result or fault is dispatched.