| Package | lc.core |
| Class | public class DefaultResponder |
| Inheritance | DefaultResponder Object |
| Implements | IResponder |
DefaultResponder class is a simple implementation of IResponder interface
that allows one to specify a result and fault handler function.
| Method | Defined By | ||
|---|---|---|---|
|
Constructor.
| DefaultResponder | ||
|
This method is called by a service 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 | |
|
This method is called by a service when the return value
has been received.
| DefaultResponder | ||
![]() |
Sets the availability of a dynamic property for loop operations.
| Object | |
![]() |
Returns the string representation of the specified object.
| Object | |
![]() |
Returns the primitive value of the specified object.
| Object | |
| DefaultResponder | () | Constructor |
public function DefaultResponder(resultHandler:Function, faultHandler:Function)
Constructor.
ParametersresultHandler:Function — Specifies a function that will be called when the asynchronous
call successfully completes.
|
|
faultHandler:Function — Specifies a function that will be called when the asynchronous call fails.
|
| fault | () | method |
public function fault(info:Object):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.
Parameters
info:Object |
| result | () | method |
public function result(data:Object):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.
Parameters
data:Object |
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/common/langref/lc/core/DefaultResponder.html