10Duke Enterprise C++ Client
Loading...
Searching...
No Matches
tenduke::ee::licensing::LicenseRenewResponse Class Reference

#include <LicenseRenewResponse.h>

Detailed Description

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.

Inheritance diagram for tenduke::ee::licensing::LicenseRenewResponse:
tenduke::ee::licensing::LicenseCheckoutResponse tenduke::ee::licensing::LicensingResponse

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::Leaseleases
 Leases, that is, successfully checked out licenses.
 
- Public Attributes inherited from tenduke::ee::licensing::LicensingResponse
const std::map< std::string, tenduke::ee::licensing::LicensingErrorerrors
 Errors of this response.
 

Constructor & Destructor Documentation

◆ LicenseRenewResponse()

tenduke::ee::licensing::LicenseRenewResponse::LicenseRenewResponse ( const std::map< std::string, tenduke::ee::licensing::Lease > &  leases,
const std::map< std::string, tenduke::ee::licensing::LicensingError > &  errors 
)
inline

Constructs new instance.

Parameters
leasessuccessfully renewed leases. Key is the licensed item name.
errorsthe failed licensed items. Key is the licensed item name.

The documentation for this class was generated from the following file: