|
10Duke Scale C++ Client
|
#include <HeartbeatRequest.h>
High level heartbeat-request.
Used internally.
| R | type of the response |
Public Member Functions | |
| HeartbeatRequest (const std::shared_ptr<::tenduke::se::APIRequest< R > > &request, const std::shared_ptr<::tenduke::se::licensing::MutableLeases > &leases, const std::shared_ptr<::tenduke::oidc::OIDCSession > &oidc=nullptr) | |
| Constructs new instance. | |
Public Member Functions inherited from tenduke::se::licensing::BaseRequest< R > | |
| BaseRequest (const std::shared_ptr<::tenduke::se::APIRequest< R > > &request, const std::shared_ptr<::tenduke::se::licensing::MutableLeases > &leases, const std::shared_ptr<::tenduke::oidc::OIDCSession > &oidc=nullptr) | |
| Constructs new instance. | |
| virtual R | execute () |
| Executes the request. | |
Protected Member Functions | |
| void | maintainLeases (const R &response) override |
| Performs lease-cache maintenance. | |
Protected Member Functions inherited from tenduke::se::licensing::BaseRequest< R > | |
| virtual R | executeRequest () |
| Executes the request. | |
Additional Inherited Members | |
Protected Attributes inherited from tenduke::se::licensing::BaseRequest< R > | |
| const std::shared_ptr<::tenduke::se::licensing::MutableLeases > | leases |
| The lease cache. | |
|
inline |
Constructs new instance.
| request | the actual API-request |
| leases | lease cache |
| oidc | OIDC-session service |
|
inlineoverrideprotectedvirtual |
Performs lease-cache maintenance.
This is empty method for subclasses to implement.
| response | - |
Reimplemented from tenduke::se::licensing::BaseRequest< R >.