The event that indicates an RPC operation has been invoked.
Static variables
staticfinalread onlyINVOKE:String = "invoke"
The INVOKE event type.
The properties of the event object have the following values:
Property | Value |
---|---|
`bubbles` | false |
`token` | The token that represents the indiviudal call to the method. Used in the asynchronous completion token pattern. |
`cancelable` | true |
`currentTarget` | The Object that defines the event listener that handles the event. For example, if you use `myButton.addEventListener()` to register an event listener, myButton is the value of the `currentTarget`. |
`message` | The request Message associated with this event. |
`target` | The Object that dispatched the event; it is not always the Object listening for the event. Use the `currentTarget` property to always access the Object listening for the event. |
Constructor
new(type:String, bubbles:Bool = false, cancelable:Bool = false, ?token:AsyncToken, ?message:IMessage)
Create a new InvokeEvent.
Parameters:
type | The event type; indicates the action that triggered the event. |
---|---|
bubbles | Specifies whether the event can bubble up the display list hierarchy. |
cancelable | Specifies whether the behavior associated with the event can be prevented. |
token | Token that represents the call to the method. Used in the asynchronous completion token pattern. |
message | Source Message of the request. |
Methods
toString():String
Returns a string representation of the InvokeEvent.
Returns:
String representation of the InvokeEvent.