|
10Duke Scale C++ Client
|
#include <FluentStartMeteredUse.h>
Starts metered license use, building the request fluently.
Call execute() to execute the request.
See superclass tenduke::se::licensing::FluentConsumptionBuilder for the methods.
Public Member Functions | |
| FluentStartMeteredUse (const ::tenduke::se::licensing::LicensingClient &client, const std::string &licenseKey="") | |
| Constructs new instance. | |
| ::tenduke::se::licensing::StartMeteredUseResponse | execute () |
| Starts metered license use. | |
Public Member Functions inherited from tenduke::se::licensing::FluentConsumptionBuilder<::tenduke::se::licensing::FluentStartMeteredUse > | |
| FluentConsumptionBuilder (std::string licenseKey) | |
| Constructs new instance. | |
| ::tenduke::se::licensing::FluentStartMeteredUse & | seats (const std::string &pProductName, std::int64_t numSeats) |
| Start building a license-consumption for seats. | |
| ::tenduke::se::licensing::FluentStartMeteredUse & | seat (const std::string &pProductName) |
| Start building a license-consumption for one seat. | |
| ::tenduke::se::licensing::FluentStartMeteredUse & | count (const std::string &pProductName, std::int64_t useCount) |
| Start building a license consumption for use count. | |
| ::tenduke::se::licensing::FluentStartMeteredUse & | count (const std::string &pProductName) |
| Starts building a license consumption for one use count. | |
| ::tenduke::se::licensing::FluentStartMeteredUse & | time (const std::string &pProductName, std::int64_t useTime) |
| Starts building a license consumption of use time. | |
| ::tenduke::se::licensing::FluentStartMeteredUse & | version (const std::string &pClientVersion) |
| Set the client version. | |
| FluentConsumptionBuilder (std::string licenseKey) | |
| Constructs new instance. | |
| ::tenduke::se::licensing::FluentStartMeteredUse & | seats (const std::string &pProductName, std::int64_t numSeats) |
| Start building a license-consumption for seats. | |
| ::tenduke::se::licensing::FluentStartMeteredUse & | seat (const std::string &pProductName) |
| Start building a license-consumption for one seat. | |
| ::tenduke::se::licensing::FluentStartMeteredUse & | count (const std::string &pProductName, std::int64_t useCount) |
| Start building a license consumption for use count. | |
| ::tenduke::se::licensing::FluentStartMeteredUse & | count (const std::string &pProductName) |
| Starts building a license consumption for one use count. | |
| ::tenduke::se::licensing::FluentStartMeteredUse & | time (const std::string &pProductName, std::int64_t useTime) |
| Starts building a license consumption of use time. | |
| ::tenduke::se::licensing::FluentStartMeteredUse & | version (const std::string &pClientVersion) |
| Set the client version. | |
| FluentConsumptionBuilder (std::string licenseKey) | |
| Constructs new instance. | |
| ::tenduke::se::licensing::FluentStartMeteredUse & | seats (const std::string &pProductName, std::int64_t numSeats) |
| Start building a license-consumption for seats. | |
| ::tenduke::se::licensing::FluentStartMeteredUse & | seat (const std::string &pProductName) |
| Start building a license-consumption for one seat. | |
| ::tenduke::se::licensing::FluentStartMeteredUse & | count (const std::string &pProductName, std::int64_t useCount) |
| Start building a license consumption for use count. | |
| ::tenduke::se::licensing::FluentStartMeteredUse & | count (const std::string &pProductName) |
| Starts building a license consumption for one use count. | |
| ::tenduke::se::licensing::FluentStartMeteredUse & | time (const std::string &pProductName, std::int64_t useTime) |
| Starts building a license consumption of use time. | |
| ::tenduke::se::licensing::FluentStartMeteredUse & | version (const std::string &pClientVersion) |
| Set the client version. | |
|
explicit |
Constructs new instance.
| client | licensing client |
| licenseKey | license key. Pass empty string, if this is not a license key operation. |
| xdlic::StartMeteredUseResponse tenduke::se::licensing::FluentStartMeteredUse::execute | ( | ) |
Starts metered license use.
| 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 |