| Package | net.guttershark.remoting.events |
| Class | public class CallEvent |
| Inheritance | CallEvent flash.events.Event |
| Property | Defined 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 | ||
| Method | Defined by | ||
|---|---|---|---|
|
CallEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
New CallEvent
| CallEvent | ||
| Constant | Defined 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 | ||
| args | property |
public var args:ArrayThe args sent
| connection | property |
public var connection:RemotingConnectionThe connection used for the call.
| faultCallback | property |
public var faultCallback:FunctionThe fault callback function
| method | property |
public var method:StringThe method called.
| rawData | property |
public var rawData:*The raw response data.
| resultCallback | property |
public var resultCallback:FunctionThe result callback function.
| service | property |
public var service:RemotingServiceThe RemotingService used for the call.
| CallEvent | () | constructor |
public function CallEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)New CallEvent
Parameterstype:String — String event type
|
|
bubbles:Boolean (default = false) — Boolean bubbles
|
|
cancelable:Boolean (default = false) — Boolean cancelable
|
| LIMITER_STOPPED_CALL | constant |
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_SENT | constant |
public static const REQUEST_SENT:String = "requestSent"When a remoting request was sent, this is dispatched from RemotingService
| RETRY | constant |
public static const RETRY:String = "retry"When a remoting call is retrying. Dispatched from RemotingService
| SERVICE_HALTED | constant |
public static const SERVICE_HALTED:String = "serviceHalted"Dispatched when the total timeouts reaches the maximum timeouts before a halt.
| TIMEOUT | constant |
public static const TIMEOUT:String = "timedout"Dispatched when a remoting call times-out.