10Duke Enterprise C++ Client
|
#include <LicensingClient.h>
High-level client for licensing operations.
This service provides operations for checking out and releasing licenses.
Methods have two overloads: one with parameters, and another one, which builds the parameters fluently and then calls the actual methods. For example, to checkout license fluently:
Methods annotated to throw exceptions (this includes the execute()
of the fluent request builders) throw exceptions inheriting from tenduke::TendukeException. Examples:
The default implementation provided out-of-the box is tenduke::ee::licensing::impl::StatefulLicensingClient
. See the class description for more details (particularly how the user session is maintained).
Public Member Functions | |
virtual tenduke::ee::licensing::LicenseCheckoutResponse | checkoutLicenses (const tenduke::ee::licensing::LicenseCheckoutParameters ¶meters) const =0 |
Checks out license(s). | |
virtual tenduke::ee::licensing::FluentLicenseCheckout | checkoutLicenses () const =0 |
Checks out license(s) fluently. | |
virtual tenduke::ee::licensing::LicenseReleaseResponse | releaseLicenses (const tenduke::ee::licensing::LicenseReleaseParameters ¶meters) const =0 |
Releases checked out license(s). | |
virtual tenduke::ee::licensing::FluentLicenseRelease | releaseLicenses () const =0 |
Releases checked out license(s) fluently. | |
virtual ::tenduke::ee::licensing::LicenseRenewResponse | renewLeases (const ::tenduke::ee::licensing::LicenseRenewParameters ¶meters) const =0 |
Renews leases. | |
virtual ::tenduke::ee::licensing::FluentLicenseRenew | renewLeases () const =0 |
Renews leases fluently. | |
|
pure virtual |
Checks out license(s) fluently.
See the tenduke::ee::licensing::FluentLicenseCheckout
(and its superclass) for complete set of parameters.
Implemented in tenduke::ee::licensing::impl::StatefulLicensingClient.
|
pure virtual |
Checks out license(s).
parameters | the request parameters |
tenduke::TendukeException | and subclasses. See class documentation. |
Implemented in tenduke::ee::licensing::impl::StatefulLicensingClient.
|
pure virtual |
Releases checked out license(s) fluently.
See the tenduke::ee::licensing::FluentLicenseRelease
(and its superclass) for complete set of parameters.
Implemented in tenduke::ee::licensing::impl::StatefulLicensingClient.
|
pure virtual |
Releases checked out license(s).
parameters | the request parameters |
tenduke::TendukeException | and subclasses. See class documentation. |
Implemented in tenduke::ee::licensing::impl::StatefulLicensingClient.
|
pure virtual |
Renews leases fluently.
See tenduke::ee::licensing::LicensingClient::renewLeases(const tenduke::ee::licensing::LicenseRenewParameters &) const
for details.
Implemented in tenduke::ee::licensing::impl::StatefulLicensingClient.
|
pure virtual |
Renews leases.
NOTE: Renewal returns new leases (i.e. leases with new lease ID), these leases replace the original leases.
parameters | the request parameters |
tenduke::TendukeException | and subclasses. See class documentation. |
Implemented in tenduke::ee::licensing::impl::StatefulLicensingClient.