10Duke Enterprise C++ Client
Loading...
Searching...
No Matches
AbstractTendukeServiceFactory.h
1#ifndef TENDUKE_ABSTRACTTENDUKESERVICEFACTORY_H
2#define TENDUKE_ABSTRACTTENDUKESERVICEFACTORY_H
3
4#include "./TendukeServiceFactory.h"
5#include "crypto/MessageDigestFactory.h"
6#include "utl/random/RandomBytes.h"
7
8namespace tenduke {
9
14{
15protected:
25 virtual ::tenduke::TendukeServices create (
26 const std::shared_ptr<::tenduke::crypto::MessageDigestFactory> &messageDigestFactory,
27 const std::shared_ptr<::tenduke::crypto::PublicKeyFactory> &keyFactory,
28 const std::shared_ptr<::tenduke::http::HTTPClient> &httpClient,
29 const std::shared_ptr<::tenduke::net::URLs> &urls,
30 const std::shared_ptr<::tenduke::utl::random::RandomBytes> &randomBytes,
31 const std::shared_ptr<::tenduke::json::JSONParser> &jsonParser
32 ) const;
33};
34
35} // tenduke
36
37#endif //TENDUKE_ABSTRACTTENDUKESERVICEFACTORY_H
Abstract base class of a tenduke service factory.
Definition AbstractTendukeServiceFactory.h:14
virtual::tenduke::TendukeServices create(const std::shared_ptr<::tenduke::crypto::MessageDigestFactory > &messageDigestFactory, const std::shared_ptr<::tenduke::crypto::PublicKeyFactory > &keyFactory, const std::shared_ptr<::tenduke::http::HTTPClient > &httpClient, const std::shared_ptr<::tenduke::net::URLs > &urls, const std::shared_ptr<::tenduke::utl::random::RandomBytes > &randomBytes, const std::shared_ptr<::tenduke::json::JSONParser > &jsonParser) const
Creates the services using the provided dependencies.
Definition AbstractTendukeServiceFactory.cpp:28
Creates instances of tenduke::TendukeServices.
Definition TendukeServiceFactory.h:14
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4