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