Packagecom.esri.tracking.connector.events
Classpublic class GatewayDataEvent
InheritanceGatewayDataEvent Inheritance flash.events.Event

Represents event objects dispatched when gateway monitoring data is received.



Public Properties
 PropertyDefined By
  errorMessage : String
[read-only] The error message from a failed request.
GatewayDataEvent
  gatewayData : GatewayData
[read-only] The gateway data received.
GatewayDataEvent
  succeeded : Boolean
[read-only] Indicates whether the request was successful or not.
GatewayDataEvent
Public Methods
 MethodDefined By
  
GatewayDataEvent(type:String, gatewayData:GatewayData, succeeded:Boolean, errorMessage:String = null)
The constructor.
GatewayDataEvent
Public Constants
 ConstantDefined By
  GATEWAY_DATA_RECEIVED : String = gatewayDataReceived
[static] Defines the value of the type property of an gatewayDataReceived event.
GatewayDataEvent
Property Detail
errorMessageproperty
errorMessage:String  [read-only]

The error message from a failed request.


Implementation
    public function get errorMessage():String
gatewayDataproperty 
gatewayData:GatewayData  [read-only]

The gateway data received.


Implementation
    public function get gatewayData():GatewayData

See also

succeededproperty 
succeeded:Boolean  [read-only]

Indicates whether the request was successful or not.


Implementation
    public function get succeeded():Boolean
Constructor Detail
GatewayDataEvent()Constructor
public function GatewayDataEvent(type:String, gatewayData:GatewayData, succeeded:Boolean, errorMessage:String = null)

The constructor.

Parameters
type:String — The type of event.
 
gatewayData:GatewayData — The gateway data returned.
 
succeeded:Boolean
 
errorMessage:String (default = null)
Constant Detail
GATEWAY_DATA_RECEIVEDConstant
public static const GATEWAY_DATA_RECEIVED:String = gatewayDataReceived

Defines the value of the type property of an gatewayDataReceived event.