| Package | lc.foundation.util | 
| Class | public class DefaultResponder | 
| Inheritance | DefaultResponder    Object | 
| Implements | IResponder | 
| Language Version: | ActionScript 3.0 | 
| Product Version: | Adobe Digital Enterprise Platform Document Services - Workspace 9 | 
| Runtime Versions: | AIR (unsupported), 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
| Property | Defined By | ||
|---|---|---|---|
![]()  | constructor : Object 
	 A reference to the class object or constructor function for a given object instance.  | Object | |
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 Document Services - Workspace 9 | 
| Runtime Versions: | AIR (unsupported), 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 Document Services - Workspace 9 | 
| Runtime Versions: | AIR (unsupported), 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 Document Services - Workspace 9 | 
| Runtime Versions: | AIR (unsupported), 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. 
		 
		  | 
Thu Dec 4 2014, 05:50 PM -08:00
 