10Duke Enterprise C++ Client
Loading...
Searching...
No Matches
tenduke::ee::licensing::authzapi::LicensingRequest< T > Class Template Referenceabstract

#include <LicensingRequest.h>

Detailed Description

template<class T>
class tenduke::ee::licensing::authzapi::LicensingRequest< T >

Licensing-related request.

Template Parameters
Ttype of the result.
Inheritance diagram for tenduke::ee::licensing::authzapi::LicensingRequest< T >:
tenduke::ee::licensing::authzapi::AbstractAuthzApiRequest< ::tenduke::ee::licensing::LicenseCheckoutResponse > tenduke::ee::licensing::authzapi::AbstractAuthzApiRequest< ::tenduke::ee::licensing::LicenseRenewResponse > tenduke::ee::licensing::authzapi::AbstractAuthzApiRequest< T > tenduke::ee::licensing::authzapi::DefaultLicenseReleaseRequest tenduke::ee::licensing::impl::StatefulReleaseRequest tenduke::test::mocks::LicenseCheckoutRequestMock tenduke::test::mocks::LicenseReleaseRequestMock tenduke::test::mocks::LicenseRenewRequestMock

Public Member Functions

virtual T execute ()=0
 Execute the request synchronously.
 

Member Function Documentation

◆ execute()

template<class T >
virtual T tenduke::ee::licensing::authzapi::LicensingRequest< T >::execute ( )
pure virtual

Execute the request synchronously.

Returns
the response. IMPORTANT: Failures (e.g. user does not have access to requested license) do not throw an exception, but are listed as failed items in the response.
Exceptions
tenduke::http::HTTPExceptione.g. internal server errors, invalid configuration (e.g. HTTP 404 not found) et al.
tenduke::json::JSONParsingExceptionJSON has errors (should not usually happen)
tenduke::ee::licensing::LicensingRequestFailuree.g. invalid response (not JSON)
tenduke::net::NetworkingExceptione.g. timeouts, networking communication problems
tenduke::TimedOutgeneric time outs

Implemented in tenduke::ee::licensing::authzapi::AbstractAuthzApiRequest< T >, tenduke::ee::licensing::authzapi::AbstractAuthzApiRequest< ::tenduke::ee::licensing::LicenseCheckoutResponse >, tenduke::ee::licensing::authzapi::AbstractAuthzApiRequest< ::tenduke::ee::licensing::LicenseRenewResponse >, tenduke::ee::licensing::authzapi::DefaultLicenseReleaseRequest, and tenduke::ee::licensing::impl::StatefulReleaseRequest.


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