Apache Flex 4.16.1 API Reference | All Packages | All Classes | Index | Frames No Frames |
IResponder

Package | mx.rpc
Interface | public interface IResponder
Implementors | AsyncResponder, CallResponder, ItemResponder, Responder

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

This interface provides the contract for any service that needs to respond to remote or asynchronous calls.

Public Methods

| Method | Defined By
--- | --- | ---
|  | fault(info:Object):void This method is called by a service when an error has been received. | IResponder
|  | result(data:Object):void This method is called by a service when the return value has been received. | IResponder

Method Detail

fault | () | method

`public function fault(info:Object):void`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

This method is called by a service when an error has been received. While `info` is typed as Object it is often (but not always) an mx.rpc.events.FaultEvent.

Parameters

| `info:Object`

result | () | method |

`public function result(data:Object):void`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

This method is called by a service when the return value has been received. While `data` is typed as Object, it is often (but not always) an mx.rpc.events.ResultEvent.

Parameters

| `data:Object`

Wed Nov 15 2017, 09:50 AM +01:00