1#ifndef INCLUDED_Lightstreamer_SubscriptionListener
2#define INCLUDED_Lightstreamer_SubscriptionListener
4#include "Lightstreamer/ItemUpdate.h"
7namespace Lightstreamer {
Contains all the information related to an update of the field values for an item.
Definition ItemUpdate.h:32
Interface to be implemented to listen to Subscription events comprehending notifications of subscript...
Definition SubscriptionListener.h:18
virtual void onClearSnapshot(const std::string &itemName, int itemPos)
Event handler that is called by Lightstreamer each time a request to clear the snapshot pertaining to...
Definition SubscriptionListener.h:41
virtual void onCommandSecondLevelItemLostUpdates(int lostUpdates, const std::string &key)
Event handler that is called by Lightstreamer to notify that, due to internal resource limitations,...
Definition SubscriptionListener.h:56
virtual void onUnsubscription()
Event handler that is called by Lightstreamer to notify that a Subscription has been successfully uns...
Definition SubscriptionListener.h:215
virtual void onListenStart()
Event handler that receives a notification when the SubscriptionListener instance is added to a Subsc...
Definition SubscriptionListener.h:149
virtual void onSubscriptionError(int code, const std::string &message)
Event handler that is called when the Server notifies an error on a Subscription.
Definition SubscriptionListener.h:201
virtual void onCommandSecondLevelSubscriptionError(int code, const std::string &message, const std::string &key)
Event handler that is called when the Server notifies an error on a second-level subscription.
Definition SubscriptionListener.h:89
virtual void onListenEnd()
Event handler that receives a notification when the SubscriptionListener instance is removed from a S...
Definition SubscriptionListener.h:144
virtual void onItemLostUpdates(const std::string &itemName, int itemPos, int lostUpdates)
Event handler that is called by Lightstreamer to notify that, due to internal resource limitations,...
Definition SubscriptionListener.h:131
virtual void onSubscription()
Event handler that is called by Lightstreamer to notify that a Subscription has been successfully sub...
Definition SubscriptionListener.h:164
virtual void onEndOfSnapshot(const std::string &itemName, int itemPos)
Event handler that is called by Lightstreamer to notify that all snapshot events for an item in the S...
Definition SubscriptionListener.h:109
virtual void onItemUpdate(ItemUpdate &update)
Event handler that is called by Lightstreamer each time an update pertaining to an item in the Subscr...
Definition SubscriptionListener.h:139
virtual void onRealMaxFrequency(const std::string &frequency)
Event handler that is called by Lightstreamer to notify the client with the real maximum update frequ...
Definition SubscriptionListener.h:233