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

Methods

fault(info:Dynamic):Void

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 object.

Parameters:

info

Contains the information about the error that occured.

result(data:Dynamic):Void

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 object.

Parameters:

data

Contains the information returned from the request.