Module subscription

Module subscription 

Source
Expand description

Module containing subscription-related functionality.

This module provides the necessary types and functions to create and manage subscriptions to Lightstreamer items. It includes the Subscription struct, subscription modes, item updates, and subscription listeners.

Structs§

ItemUpdate
Contains all the information related to an update of the field values for an item. It reports all the new values of the fields.
Subscription
Struct representing a Subscription to be submitted to a Lightstreamer Server. It contains subscription details and the listeners needed to process the real-time data.

Enums§

Snapshot
Enum representing the snapshot delivery preferences to be requested to Lightstreamer Server for the items in the Subscription.
SubscriptionMode
Enum representing the subscription mode.

Traits§

SubscriptionListener
Interface to be implemented to listen to Subscription events comprehending notifications of subscription/unsubscription, updates, errors and others.