Package | mx.rpc |
Class | public class Responder |
Inheritance | Responder ![]() |
Implements | IResponder |
mx.rpc.IResponder
Method | Defined By | ||
---|---|---|---|
Constructs an instance of the responder with the specified handlers.
| Responder | ||
This method is called by a service when an error has been received.
| Responder | ||
![]() |
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 remote service when the return value has been
received.
| Responder | ||
![]() |
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 |
Responder | () | Constructor |
public function Responder(result:Function, fault:Function)
Constructs an instance of the responder with the specified handlers.
Parametersresult:Function — Function that should be called when the request has
completed successfully.
|
|
fault:Function — Function that should be called when the request has
completed with errors.
|
fault | () | method |
public function fault(info:Object):void
This method is called by a service when an error has been received.
Parameters
info:Object |
result | () | method |
public function result(data:Object):void
This method is called by a remote service when the return value has been received.
Parameters
data:Object |