HTML Client 5.0.1

Class MessageListener

Object
   |
   +--MessageListener

class MessageListener


Class suitable for creating listeners to be supplied to LightstreamerEngine.sendMessage().
Defined in lscommons.js


Constructor Summary
MessageListener ()
            Creates a void listener that can be supplied to LightstreamerEngine.sendMessage() together with a message.
 
Method Summary
 void onAbort()
           Event handler that is called by Lightstreamer when any notifications of the processing outcome of the related message haven't been received yet and can no longer be received.
 void onDeny(<Number> code, <String> message)
           Event handler that is called by Lightstreamer when the related message has been processed by the Server but the expected processing outcome could not be achieved for any reason.
 void onDiscarded()
           Event handler that is called by Lightstreamer to notify that the related message has been discarded by the Server.
 void onError()
           Event handler that is called by Lightstreamer when the related message has been processed by the Server but the processing has failed for any reason.
 void onProcessed()
           Event handler that is called by Lightstreamer when the related message has been processed by the Server with success.

Constructor Detail

MessageListener

MessageListener()

Method Detail

onAbort

void onAbort()

onDeny

void onDeny(<Number> code, <String> message)

onDiscarded

void onDiscarded()

onError

void onError()

onProcessed

void onProcessed()

HTML Client 5.0.1

Lightstreamer HTML Client API
Documentation generated by JSDoc on Tue May 22 11:46:54 2012