mx.rpc

# IResponder - AS3 Flex

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

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`

© 2015 Adobe Systems Incorporated. All rights reserved.
Mon Apr 10 2017, 12:28 PM -07:00