TideResponder defines a simple responder for remote calls
It allows to keep a token object between the call and the result/fault handler
It also allows to add many result/fault handlers that will all be triggered by the origin call
mergeResultWith:Object [read-only]Implementation
public function get mergeResultWith():Object
public function TideResponder(resultHandler:Function, faultHandler:Function, token:Object = null, mergeWith:Object = null)Parameters
| resultHandler:Function |
| |
| faultHandler:Function |
| |
| token:Object (default = null) |
| |
| mergeWith:Object (default = null) |
public function addHandlers(resultHandler:Function = null, faultHandler:Function = null):void
Add result/fault handlers
Parameters
| resultHandler:Function (default = null) — a result handler method
|
| |
| faultHandler:Function (default = null) — a fault handler method
|
public function fault(event:TideFaultEvent):void
Fault handler method
Parameters
public function result(event:TideResultEvent):void
Result handler method
Parameters