Packagecom.lightstreamer.as_client.events
Classpublic class SendMessageErrorEvent
InheritanceSendMessageErrorEvent Inheritance SendMessageEvent Inheritance LSClientEvent Inheritance flash.events.Event

Carries a Server-originated notification of an error which prevented the correct handling of a Message sent through LSClient.sendMessage().

See also

com.lightstreamer.as_client.LSClient.sendMessage()


Public Properties
 PropertyDefined By
 Inheritedclient : LSClient
[read-only] The LSClient which this event is related to.
LSClientEvent
  errorCode : int
[read-only] The error code returned by the Server.
SendMessageErrorEvent
  errorMessage : String
[read-only] The error message describing the error, as received from the Server.
SendMessageErrorEvent
 InheritedmessageProg : uint
[read-only] A number representing the progressive number of the message within its sequence.
SendMessageEvent
 InheritedoriginalMessage : *
[read-only] The original message sent to the server.
SendMessageEvent
Public Constants
 ConstantDefined By
  SEND_MESSAGE_ERROR : String = sendMessageError
[static] Define the value of the type property of a SendMessageError event object.
SendMessageErrorEvent
Property Detail
errorCodeproperty
errorCode:int  [read-only]

The error code returned by the Server. See the asynchronous Send Message outcome messages on the text protocol documentation for a reference on the error codes that can be issued in response to a sendMessage request. Note that code 39 is not used in this case.


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

The error message describing the error, as received from the Server.


Implementation
    public function get errorMessage():String
Constant Detail
SEND_MESSAGE_ERRORConstant
public static const SEND_MESSAGE_ERROR:String = sendMessageError

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