(Beta)
Package | lc.foundation.util |
Class | public class DefaultResponder |
Inheritance | DefaultResponder Object |
Implements | IResponder |
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Document Services ES2 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
DefaultResponder
class is an implementation of the mx.rpc.IResponder
interface.
It allows you to specify a result handler and fault handler functions.
Related API Elements
Public Properties
Public Methods
Method | Defined By | ||
---|---|---|---|
Constructor. | DefaultResponder | ||
Executes when an error has been received. | DefaultResponder | ||
Indicates whether an object has a specified property defined. | Object | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Executes when a result or return value is received. | DefaultResponder | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object |
Constructor Detail
DefaultResponder | () | Constructor |
public function DefaultResponder(resultHandler:Function, faultHandler:Function)
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Document Services ES2 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Constructor.
ParametersresultHandler:Function — Specifies the function that is called when the asynchronous
call completes.
| |
faultHandler:Function — Specifies a function that is called when the asynchronous call fails.
|
Method Detail
fault | () | method |
public function fault(info:Object):void
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Document Services ES2 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Executes when an error has been received.
Parameters
info:Object — Specifies the information from an event, such as a mx.rpc.events.FaultEvent object.
|
result | () | method |
public function result(data:Object):void
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Document Services ES2 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Executes when a result or return value is received.
Parameters
data:Object — Specifies the data from an event, such as a mx.rpc.events.ResultEvent object.
|
Wed Nov 21 2018, 06:34 AM -08:00