Lightstreamer C++ Client SDK
Loading...
Searching...
No Matches
ClientListener.h
1#ifndef INCLUDED_Lightstreamer_ClientListener
2#define INCLUDED_Lightstreamer_ClientListener
3
4#include <string>
5
6namespace Lightstreamer {
7
18public:
19 virtual ~ClientListener() {}
24 virtual void onListenEnd() {}
29 virtual void onListenStart() {}
74 virtual void onServerError(int errorCode, const std::string& errorMessage) {}
149 virtual void onStatusChange(const std::string& status) {}
192 virtual void onPropertyChange(const std::string& property) {}
193};
194
195} // namespace Lightstreamer
196
197#endif // INCLUDED_Lightstreamer_ClientListener
Interface to be implemented to listen to LightstreamerClient events comprehending notifications of co...
Definition ClientListener.h:17
virtual void onServerError(int errorCode, const std::string &errorMessage)
Event handler that is called when the Server notifies a refusal on the client attempt to open a new c...
Definition ClientListener.h:74
virtual void onStatusChange(const std::string &status)
Event handler that receives a notification each time the LightstreamerClient status has changed.
Definition ClientListener.h:149
virtual void onListenStart()
Event handler that receives a notification when the ClientListener instance is added to a Lightstream...
Definition ClientListener.h:29
virtual void onPropertyChange(const std::string &property)
Event handler that receives a notification each time the value of a property of LightstreamerClient#c...
Definition ClientListener.h:192
virtual void onListenEnd()
Event handler that receives a notification when the ClientListener instance is removed from a Lightst...
Definition ClientListener.h:24