Packagecom.arc90.rpc.events
Classpublic class ResultEvent
InheritanceResultEvent Inheritance flash.events.Event

The event that indicates an RPC operation has successfully returned a result.



Public Properties
 PropertyDefined by
  headers : Object
[read-only] The HTTP Response headers.
ResultEvent
  result : Object
[read-only] The HTTP Response body.
ResultEvent
  statusCode : Number
[read-only] The HTTP Status Code.
ResultEvent
  statusMessage : String
[read-only] The HTTP Status Message.
ResultEvent
Public Methods
 MethodDefined by
  
ResultEvent(type:String, statusCode:Number, statusMessage:String, headers:Object, result:Object = null)
Constructor.
ResultEvent
  
toString():String
Returns a string representation of the ResultEvent.
ResultEvent
Public Constants
 ConstantDefined by
  RESULT : String = "result"
[static] The RESULT event type.
ResultEvent
Property detail
headersproperty
headers:Object  [read-only]

The HTTP Response headers.

Implementation
    public function get headers():Object
resultproperty 
result:Object  [read-only]

The HTTP Response body.

Implementation
    public function get result():Object
statusCodeproperty 
statusCode:Number  [read-only]

The HTTP Status Code.

Implementation
    public function get statusCode():Number
statusMessageproperty 
statusMessage:String  [read-only]

The HTTP Status Message.

Implementation
    public function get statusMessage():String
Constructor detail
ResultEvent()constructor
public function ResultEvent(type:String, statusCode:Number, statusMessage:String, headers:Object, result:Object = null)

Constructor.

Parameters
type:String — The event type; indicates the action that triggered the event.
 
statusCode:Number — The HTTP Status Code.
 
statusMessage:String — The HTTP Status Message.
 
headers:Object — The HTTP Response Headers.
 
result:Object (default = null) — The HTTP Response Body.
Method detail
toString()method
public override function toString():String

Returns a string representation of the ResultEvent.

Returns
String — String representation of the ResultEvent.
Constant detail
RESULTconstant
public static const RESULT:String = "result"

The RESULT event type.