|
10Duke Scale C++ Client
|
#include <FluentLicenseCheckout.h>
Checks out licenses, building the request fluently.
Call execute() to execute the request.
See the superclass tenduke::se::licensing::FluentConsumptionBuilder for the builder methods.
Public Member Functions | |
| FluentLicenseCheckout (const ::tenduke::se::licensing::LicensingClient &client, const std::string &licenseKey="") | |
| Constructs new instance. | |
| ::tenduke::se::licensing::LicenseCheckoutResponse | execute () |
| Checks out the licenses. | |
Public Member Functions inherited from tenduke::se::licensing::FluentConsumptionBuilder< FluentLicenseCheckout > | |
| FluentConsumptionBuilder (std::string licenseKey) | |
| Constructs new instance. | |
| FluentLicenseCheckout & | seats (const std::string &pProductName, std::int64_t numSeats) |
| Start building a license-consumption for seats. | |
| FluentLicenseCheckout & | seat (const std::string &pProductName) |
| Start building a license-consumption for one seat. | |
| FluentLicenseCheckout & | count (const std::string &pProductName, std::int64_t useCount) |
| Start building a license consumption for use count. | |
| FluentLicenseCheckout & | count (const std::string &pProductName) |
| Starts building a license consumption for one use count. | |
| FluentLicenseCheckout & | time (const std::string &pProductName, std::int64_t useTime) |
| Starts building a license consumption of use time. | |
| FluentLicenseCheckout & | version (const std::string &pClientVersion) |
| Set the client version. | |
| FluentConsumptionBuilder (std::string licenseKey) | |
| Constructs new instance. | |
| FluentLicenseCheckout & | seats (const std::string &pProductName, std::int64_t numSeats) |
| Start building a license-consumption for seats. | |
| FluentLicenseCheckout & | seat (const std::string &pProductName) |
| Start building a license-consumption for one seat. | |
| FluentLicenseCheckout & | count (const std::string &pProductName, std::int64_t useCount) |
| Start building a license consumption for use count. | |
| FluentLicenseCheckout & | count (const std::string &pProductName) |
| Starts building a license consumption for one use count. | |
| FluentLicenseCheckout & | time (const std::string &pProductName, std::int64_t useTime) |
| Starts building a license consumption of use time. | |
| FluentLicenseCheckout & | version (const std::string &pClientVersion) |
| Set the client version. | |
| FluentConsumptionBuilder (std::string licenseKey) | |
| Constructs new instance. | |
| FluentLicenseCheckout & | seats (const std::string &pProductName, std::int64_t numSeats) |
| Start building a license-consumption for seats. | |
| FluentLicenseCheckout & | seat (const std::string &pProductName) |
| Start building a license-consumption for one seat. | |
| FluentLicenseCheckout & | count (const std::string &pProductName, std::int64_t useCount) |
| Start building a license consumption for use count. | |
| FluentLicenseCheckout & | count (const std::string &pProductName) |
| Starts building a license consumption for one use count. | |
| FluentLicenseCheckout & | time (const std::string &pProductName, std::int64_t useTime) |
| Starts building a license consumption of use time. | |
| FluentLicenseCheckout & | version (const std::string &pClientVersion) |
| Set the client version. | |
|
explicit |
Constructs new instance.
| client | - |
| licenseKey | - |
| xdlic::LicenseCheckoutResponse tenduke::se::licensing::FluentLicenseCheckout::execute | ( | ) |
Checks out the licenses.
| tenduke::net::NetworkingException | (and subclasses) on networking issues (no network, host not found etc) |
| tenduke::jwt::JWTValidationException | when any returned license token fails to validate |
| tenduke::se::http::APIException | (and subclasses) when the request failed |