Package | com.asfusion.mate.events |
Class | public dynamic class ResponseEvent |
Inheritance | ResponseEvent flash.events.Event |
ServiceResponseHandler
to notify
responses.
Property | Defined by | ||
---|---|---|---|
data : Object
Data Object (holder for custom data)
| ResponseEvent | ||
fault : Object
Fault Object from a service
| ResponseEvent | ||
result : Object
Result Object from a service
| ResponseEvent |
Method | Defined by | ||
---|---|---|---|
ResponseEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor
| ResponseEvent |
Constant | Defined by | ||
---|---|---|---|
FAULT : String = "fault" [static]
Indicates that a fault has been received.
| ResponseEvent | ||
RESPONSE : String = "response" [static]
Indicates that a response has been received.
| ResponseEvent | ||
RESULT : String = "result" [static]
Indicates that a result has been received.
| ResponseEvent |
data | property |
public var data:Object
Data Object (holder for custom data)
fault | property |
public var fault:Object
Fault Object from a service
result | property |
public var result:Object
Result Object from a service
ResponseEvent | () | constructor |
public function ResponseEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor
Parameterstype:String |
|
bubbles:Boolean (default = false )
|
|
cancelable:Boolean (default = false )
|
FAULT | constant |
public static const FAULT:String = "fault"
Indicates that a fault has been received. Recomended to be dispatched from a faultHandlers.
RESPONSE | constant |
public static const RESPONSE:String = "response"
Indicates that a response has been received.
RESULT | constant |
public static const RESULT:String = "result"
Indicates that a result has been received. Recomended to be dispatched from a resultHandlers.