ClientMessageListener class
Interface to be implemented to listen to LightstreamerClient.sendMessage events reporting a message processing outcome.
Events for these listeners are dispatched by a different thread than the one that generates them. All the notifications for a single LightstreamerClient, including notifications to ClientListeners, SubscriptionListeners and ClientMessageListeners will be dispatched by the same thread. Only one event per message is fired on this listener.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onAbort(
String originalMessage, bool sentOnNetwork) → void - 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.
-
onDeny(
String originalMessage, int errorCode, String errorMessage) → void - 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.
-
onDiscarded(
String originalMessage) → void - Event handler that is called by Lightstreamer to notify that the related message has been discarded by the Server.
-
onError(
String originalMessage) → void - 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.
-
onProcessed(
String originalMessage, String response) → void - Event handler that is called by Lightstreamer when the related message has been processed by the Server with success.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited