Adobe® Flex® 4 Language Reference
Show Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
mx.rpc 
IResponder 
Packagemx.rpc
Interfacepublic 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
 MethodDefined By
  
This method is called by a service when an error has been received.
IResponder
  
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