|
10Duke Scale C++ Client
|
#include <LicenseHeartbeatResponse.h>
Response from license heartbeat call.
NOTE: 0-n licenses can fail and 0-n licenses can succeed at the same time.
NOTE: Heartbeat changes the lease-id of a lease.
Public Member Functions | |
| LicenseHeartbeatResponse (const std::vector<::tenduke::se::licensing::Lease > &leases, const std::vector<::tenduke::se::licensing::LicenseHeartbeatError > &errors) | |
| Constructs new instance. | |
| bool | hasErrors () const |
| Checks if any of the leases failed to heartbeat. | |
Public Attributes | |
| const std::vector<::tenduke::se::licensing::Lease > | leases |
| The successfully heartbeat leases. | |
| const std::vector<::tenduke::se::licensing::LicenseHeartbeatError > | errors |
| The errors. | |
|
inlineexplicit |
Constructs new instance.
| leases | the successfully heartbeat leases |
| errors | the errors |
|
inline |
Checks if any of the leases failed to heartbeat.