Packagecom.esri.tracking.connector.events
Classpublic class ServiceDefinitionsEvent
InheritanceServiceDefinitionsEvent Inheritance flash.events.Event

Represents event objects dispatched when a response to a service definitions request is received.



Public Properties
 PropertyDefined By
  errorMessage : String
[read-only] The error message from a failed request.
ServiceDefinitionsEvent
  messageFormatManager : MessageFormatManager
[read-only] The MessageFormatManager from the Connector.
ServiceDefinitionsEvent
  succeeded : Boolean
[read-only] Indicates whether the request was successful or not.
ServiceDefinitionsEvent
Public Methods
 MethodDefined By
  
ServiceDefinitionsEvent(type:String, succeeded:Boolean, messageFormatManager:MessageFormatManager = null, errorMessage:String = null)
The constructor.
ServiceDefinitionsEvent
Public Constants
 ConstantDefined By
  SERVICE_DEFINITIONS_RESPONSE : String = serviceDefinitionsResponse
[static] Defines the value of the type property of an serviceDefinitionsResponse event.
ServiceDefinitionsEvent
Property Detail
errorMessageproperty
errorMessage:String  [read-only]

The error message from a failed request.


Implementation
    public function get errorMessage():String
messageFormatManagerproperty 
messageFormatManager:MessageFormatManager  [read-only]

The MessageFormatManager from the Connector.


Implementation
    public function get messageFormatManager():MessageFormatManager

See also

succeededproperty 
succeeded:Boolean  [read-only]

Indicates whether the request was successful or not.


Implementation
    public function get succeeded():Boolean
Constructor Detail
ServiceDefinitionsEvent()Constructor
public function ServiceDefinitionsEvent(type:String, succeeded:Boolean, messageFormatManager:MessageFormatManager = null, errorMessage:String = null)

The constructor.

Parameters
type:String — The type of event.
 
succeeded:Boolean — Indicates success or failure.
 
messageFormatManager:MessageFormatManager (default = null) — The MessageFormatManager from the Connector.
 
errorMessage:String (default = null) — Error message from a failed request.
Constant Detail
SERVICE_DEFINITIONS_RESPONSEConstant
public static const SERVICE_DEFINITIONS_RESPONSE:String = serviceDefinitionsResponse

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