This class provides a default implementation of the mx.rpc.IResponder interface.
Constructor
new(result:Dynamic ‑> Void, fault:Dynamic ‑> Void)
Constructs an instance of the responder with the specified handlers.
Parameters:
result | Function that should be called when the request has completed successfully. |
---|---|
fault | Function that should be called when the request has completed with errors. |
Methods
fault(info:Dynamic):Void
This method is called by a service when an error has been received.
Parameters:
info | Object containing the information returned from the request.
While |
---|
result(data:Dynamic):Void
This method is called by a remote service when the return value has been received.
Parameters:
data | Object containing the information about the error that occured. .
While |
---|