A virtual interface which can be reimplemented to receive connection statistics. More...
#include <statisticshandler.h>
Public Member Functions | |
virtual | ~StatisticsHandler () |
virtual void | handleStatistics (const StatisticsStruct stats)=0 |
A virtual interface which can be reimplemented to receive connection statistics.
Derived classes can be registered as StatisticsHandlers with the ClientBase.
Definition at line 63 of file statisticshandler.h.
virtual ~StatisticsHandler | ( | ) | [inline, virtual] |
Virtual Destructor.
Definition at line 69 of file statisticshandler.h.
virtual void handleStatistics | ( | const StatisticsStruct | stats | ) | [pure virtual] |
This function is called when a Stanza has been sent or received.
stats | The updated connection statistics. |