|
10Duke Enterprise C++ SDK
|
#include <LicenseRenewResponse.h>
Response from license renew -request.
Like the checkout response, the result is not atomic: Some items may have failed, some succeeded. See tenduke::ee::licensing::LicenseCheckoutResponse for details.
A renewed lease has a new lease id, which replaces the lease id of the renewed lease: use the returned lease for the next renew and for the release.
Public Member Functions | |
| LicenseRenewResponse (const std::map< std::string, tenduke::ee::licensing::Lease > &leases, const std::map< std::string, tenduke::ee::licensing::LicensingError > &errors) | |
| Constructs new instance. | |
| Public Member Functions inherited from tenduke::ee::licensing::LicenseCheckoutResponse | |
| LicenseCheckoutResponse (const std::map< std::string, tenduke::ee::licensing::Lease > &leases, const std::map< std::string, tenduke::ee::licensing::LicensingError > &errors) | |
| Constructs new instance. | |
| bool | failed () override |
| Checks it the entire request failed, i.e. | |
| Public Member Functions inherited from tenduke::ee::licensing::LicensingResponse | |
| LicensingResponse (const std::map< std::string, tenduke::ee::licensing::LicensingError > &errors) | |
| Constructs new instance. | |
| bool | hasErrors () const |
| Checks if there are any errors. | |
Additional Inherited Members | |
| Public Attributes inherited from tenduke::ee::licensing::LicenseCheckoutResponse | |
| const std::map< std::string, tenduke::ee::licensing::Lease > | leases |
| Leases, that is, successfully checked out licenses. | |
| Public Attributes inherited from tenduke::ee::licensing::LicensingResponse | |
| const std::map< std::string, tenduke::ee::licensing::LicensingError > | errors |
| Errors of this response. | |
|
inline |
Constructs new instance.
| leases | successfully renewed leases. Key is the licensed item name. |
| errors | the failed licensed items. Key is the licensed item name. |