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§
- Lightstreamer
Client - 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.
- Subscription
Request - A request to subscribe or unsubscribe from a Lightstreamer data stream.
Enums§
- Client
Status - Represents the current status of the
LightstreamerClient
. - Connection
Type - Represents the type of connection established with the Lightstreamer Server.
- Disconnection
Type - 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§
- Client
Listener - Interface to be implemented to listen to
LightstreamerClient
events comprehending notifications of connection activity and errors. - Client
Message Listener - 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 singleLightstreamerClient
, including notifications toClientListener
,SubscriptionListener
andClientMessageListener
will be dispatched by the same thread. Only one event per message is fired on this listener.