Package | org.flexunit.async |
Class | public class AsyncTestResponder |
Inheritance | AsyncTestResponder ![]() |
Implements | IAsyncTestResponder |
Method | Defined By | ||
---|---|---|---|
AsyncTestResponder(originalResponder:*)
Constructor. | AsyncTestResponder | ||
fault(info:Object):void
Dispatches an AsyncResponseEvent with the orignalResponder, a "fault" status, and the provided info object. | AsyncTestResponder | ||
result(data:Object):void
Dispatches an AsyncResponseEvent with the orignalResponder, a "result" status, and the provided info object. | AsyncTestResponder |
Event | Summary | Defined By | ||
---|---|---|---|---|
The 'responderFired' event is fired when either a result or fault is dispatched. | AsyncTestResponder |
AsyncTestResponder | () | Constructor |
public function AsyncTestResponder(originalResponder:*)
Constructor.
ParametersoriginalResponder:* — The responder to be passed when the AsyncResponseEvent is dispatched.
|
fault | () | method |
public function fault(info:Object):void
Dispatches an AsyncResponseEvent with the orignalResponder, a "fault" status, and the provided info object.
Parameters
info:Object |
result | () | method |
public function result(data:Object):void
Dispatches an AsyncResponseEvent with the orignalResponder, a "result" status, and the provided info object.
Parameters
data:Object |
responderFired | Event |
net.digitalprimates.fluint.events.AsyncResponseEvent
The 'responderFired' event is fired when either a result or fault is dispatched.