Switchboard SDK
|
Tracks the state of a license session. More...
#include <LicenseSession.hpp>
Public Member Functions | |
virtual LicenseSessionState | getState () const =0 |
virtual void | trackUsage (const double usage)=0 |
virtual double | getUnreportedUsage () const =0 |
Tracks the state of a license session.
LicenseSession class.
|
pure virtual |
Returns the state of the license session.
Implemented in switchboard::LicenseSessionInternal.
|
pure virtual |
Returns the number of unreported usage seconds.
Implemented in switchboard::LicenseSessionInternal.
|
pure virtual |
Tracks usage for the license session.
usage | The number of seconds to track. |
Implemented in switchboard::LicenseSessionInternal.