Module client

Module client 

Source
Expand description

Module containing client-related functionality.

This module provides the main LightstreamerClient type and related components for connecting to Lightstreamer servers, managing sessions, and handling client events.

Structs§

LightstreamerClient
Facade class for the management of the communication to Lightstreamer Server. Used to provide configuration settings, event handlers, operations for the control of the connection lifecycle, Subscription handling and to send messages.
SubscriptionRequest
A request to subscribe or unsubscribe from a Lightstreamer data stream.

Enums§

ClientStatus
Represents the current status of the LightstreamerClient.
ConnectionType
Represents the type of connection established with the Lightstreamer Server.
DisconnectionType
Represents the type of disconnection that occurred with the Lightstreamer Server.
LogType
Represents the type of logging to be used by the LightstreamerClient.
Transport
The transport type to be used by the client.

Traits§

ClientListener
Interface to be implemented to listen to LightstreamerClient events comprehending notifications of connection activity and errors.
ClientMessageListener
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 ClientListener, SubscriptionListener and ClientMessageListener will be dispatched by the same thread. Only one event per message is fired on this listener.