|
10Duke Scale C++ Client
|
#include <LicenseHeartbeatArguments.h>
Describes single license lease to heartbeat.
Heartbeat request can contain 1-n of these.
Public Member Functions | |
| LicenseHeartbeatArguments (std::string leaseId, const bool treatAsIncrementalQty, const std::int64_t usedQty, std::string clientVersion="") | |
| Constructs new instance. | |
| bool | hasClientVersion () const |
Returns true if this argument has specified the client version. | |
Public Attributes | |
| const std::string | leaseId |
| Lease id value as it was returned in last heartbeat response or initial license checkout if no heartbeat has been done before this heartbeat request. | |
| const bool | treatAsIncrementalQty |
| Flag that tells if the usedQty value is absolute or should be treated as an increment. | |
| const std::int64_t | usedQty |
| The amount used since initial license checkout / previous heartbeat. | |
| const std::string | clientVersion |
| Client application version. | |
|
inline |
Constructs new instance.
| leaseId | Lease id value as it was returned in last heartbeat response or initial license checkout if no heartbeat has been done before this heartbeat request. |
| treatAsIncrementalQty | The amount used since initial license checkout / previous heartbeat. The usage quantity is an absolute value by default. Set field treatAsIncrementalQty = true to use an incremental tracking algorithm instead. NOTE: does NOT APPLY when using SEAT based licensing. |
| usedQty | The amount used since initial license checkout / previous heartbeat. The usage quantity is an absolute value by default. Set field treatAsIncrementalQty = true to use an incremental tracking algorithm instead. NOTE: does NOT APPLY when using SEAT based licensing. |
| clientVersion | Client application version. Note: required when consuming licenses that have an allowed version range specified. Recommendation: client applications are encouraged to always send their version. |
|
inline |
Returns true if this argument has specified the client version.
| const std::string tenduke::se::licensing::LicenseHeartbeatArguments::clientVersion |
Client application version.
Note: required when consuming licenses that have an allowed version range specified. Recommendation: client applications are encouraged to always send their version.
| const bool tenduke::se::licensing::LicenseHeartbeatArguments::treatAsIncrementalQty |
Flag that tells if the usedQty value is absolute or should be treated as an increment.
NOTE: does NOT APPLY when using SEAT based licensing.
| const std::int64_t tenduke::se::licensing::LicenseHeartbeatArguments::usedQty |
The amount used since initial license checkout / previous heartbeat.
The usage quantity is an absolute value by default. Set field treatAsIncrementalQty = true to use an incremental tracking algorithm instead. NOTE: does NOT APPLY when using SEAT based licensing.