Apache Flex 4.16.1 API Reference | All Packages | All Classes | Index | Frames No Frames |
AbstractEvent

Package | mx.rpc.events
Class | public class AbstractEvent
Inheritance | AbstractEvent MessageEvent flash.events.Event
Subclasses | FaultEvent, HeaderEvent, InvokeEvent, ResultEvent

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

The base class for events that RPC services dispatch.

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | message : IMessage The Message associated with this event. | MessageEvent
|  | token : AsyncToken [read-only] The token that represents the call to the method. | AbstractEvent

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | clone():Event [override] Clones the MessageEvent. | MessageEvent
|  | createEvent(type:String, msg:IMessage):MessageEvent [static] Utility method to create a new MessageEvent that doesn't bubble and is not cancelable. | MessageEvent
|  | toString():String [override] Returns a string representation of the MessageEvent. | MessageEvent

Public Constants
Hide Inherited Public Constants
Show Inherited Public Constants

| Constant | Defined By
--- | --- | ---
|  | MESSAGE : String = message [static] The MESSAGE event type; dispatched upon receipt of a message. | MessageEvent
|  | RESULT : String = result [static] The RESULT event type; dispatched when an RPC agent receives a result from a remote service destination. | MessageEvent

Property Detail

token | property

`token:AsyncToken` [read-only]

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

The token that represents the call to the method. Used in the asynchronous completion token pattern.

Implementation
`public function get token():AsyncToken`

Wed Nov 15 2017, 09:50 AM +01:00