Packagenet.guttershark.remoting.events
Classpublic class CallEvent
InheritanceCallEvent Inheritance flash.events.Event



Public Properties
 PropertyDefined by
  args : Array
The args sent
CallEvent
  connection : RemotingConnection
The connection used for the call.
CallEvent
  faultCallback : Function
The fault callback function
CallEvent
  method : String
The method called.
CallEvent
  rawData : *
The raw response data.
CallEvent
  resultCallback : Function
The result callback function.
CallEvent
  service : RemotingService
The RemotingService used for the call.
CallEvent
Public Methods
 MethodDefined by
  
CallEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
New CallEvent
CallEvent
Public Constants
 ConstantDefined by
  LIMITER_STOPPED_CALL : String = "limiterStoppedCall"
[static] Dispatched from RemotingService when a limiter is in place and a call was blocked from going to the server.
CallEvent
  REQUEST_SENT : String = "requestSent"
[static] When a remoting request was sent, this is dispatched from RemotingService
CallEvent
  RETRY : String = "retry"
[static] When a remoting call is retrying.
CallEvent
  SERVICE_HALTED : String = "serviceHalted"
[static] Dispatched when the total timeouts reaches the maximum timeouts before a halt.
CallEvent
  TIMEOUT : String = "timedout"
[static] Dispatched when a remoting call times-out.
CallEvent
Property detail
argsproperty
public var args:Array

The args sent

connectionproperty 
public var connection:RemotingConnection

The connection used for the call.

faultCallbackproperty 
public var faultCallback:Function

The fault callback function

methodproperty 
public var method:String

The method called.

rawDataproperty 
public var rawData:*

The raw response data.

resultCallbackproperty 
public var resultCallback:Function

The result callback function.

serviceproperty 
public var service:RemotingService

The RemotingService used for the call.

Constructor detail
CallEvent()constructor
public function CallEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)

New CallEvent

Parameters
type:String — String event type
 
bubbles:Boolean (default = false) — Boolean bubbles
 
cancelable:Boolean (default = false) — Boolean cancelable
Constant detail
LIMITER_STOPPED_CALLconstant
public static const LIMITER_STOPPED_CALL:String = "limiterStoppedCall"

Dispatched from RemotingService when a limiter is in place and a call was blocked from going to the server.

REQUEST_SENTconstant 
public static const REQUEST_SENT:String = "requestSent"

When a remoting request was sent, this is dispatched from RemotingService

RETRYconstant 
public static const RETRY:String = "retry"

When a remoting call is retrying. Dispatched from RemotingService

SERVICE_HALTEDconstant 
public static const SERVICE_HALTED:String = "serviceHalted"

Dispatched when the total timeouts reaches the maximum timeouts before a halt.

TIMEOUTconstant 
public static const TIMEOUT:String = "timedout"

Dispatched when a remoting call times-out.