Packagecom.lightstreamer.as_client.events
Classpublic class ControlErrorEvent
InheritanceControlErrorEvent Inheritance LSClientEvent Inheritance flash.events.Event

Dispatched whenever the Server returns an error in response of a control connection.



Public Properties
 PropertyDefined by
 Inheritedclient : LSClient
The LSClient which this event is related to.
LSClientEvent
  errorCode : int
[read-only] The error code returned by the Server.
ControlErrorEvent
  errorMessage : String
[read-only] The error message describing the error.
ControlErrorEvent
  isSendMessageResponse : Boolean
[read-only] true if the error message is related to a sendMessage request, false otherwise.
ControlErrorEvent
  item : *
[read-only] Only effective when the related table behaves in "MultiMetapush logic".
ControlErrorEvent
  key : String
[read-only] Only effective when the related table behaves in "MultiMetapush logic".
ControlErrorEvent
  tableReference : Table
[read-only] The table which the error is related to, if any, null otherwise
ControlErrorEvent
Public Constants
 ConstantDefined by
  CONTROL_ERROR : String = "controlError"
[static] Define the value of the type property of a ControlError event object.
ControlErrorEvent
Property detail
errorCodeproperty
errorCode:int  [read-only]

The error code returned by the Server.

Implementation
    public function get errorCode():int
errorMessageproperty 
errorMessage:String  [read-only]

The error message describing the error.

Implementation
    public function get errorMessage():String
isSendMessageResponseproperty 
isSendMessageResponse:Boolean  [read-only]

true if the error message is related to a sendMessage request, false otherwise.

Implementation
    public function get isSendMessageResponse():Boolean
itemproperty 
item:*  [read-only]

Only effective when the related table behaves in "MultiMetapush logic". In this case, if the control error pertains to a second-level item, then this property is not null and contains the first-level item to which the second level item is related.

Implementation
    public function get item():*
keyproperty 
key:String  [read-only]

Only effective when the related table behaves in "MultiMetapush logic". In this case, if the control error pertains to a second-level item, then this property is not null and contains the key on the first-level item to which the second level item is related.
Note that the item property still refers to the first-level item.

Implementation
    public function get key():String
tableReferenceproperty 
tableReference:Table  [read-only]

The table which the error is related to, if any, null otherwise

Implementation
    public function get tableReference():Table
Constant detail
CONTROL_ERRORconstant
public static const CONTROL_ERROR:String = "controlError"

Define the value of the type property of a ControlError event object.