10Duke Enterprise C++ SDK
Loading...
Searching...
No Matches
tenduke::DefaultServicesFactory Class Reference

#include <DefaultServicesFactory.h>

Detailed Description

A tenduke::TendukeServiceFactory which uses external dependencies to implement required services.

Implementation of tenduke::TendukeServiceFactory which uses Windows APIs to implement required services.

The external dependencies used are:

  • libcurl
  • libcrypto (from openssl)
Inheritance diagram for tenduke::DefaultServicesFactory:
tenduke::AbstractTendukeServiceFactory tenduke::AbstractTendukeServiceFactory tenduke::TendukeServiceFactory tenduke::TendukeServiceFactory

Public Member Functions

::tenduke::TendukeServices create (const std::string &clientId, const ::tenduke::ServiceConfiguration &serviceConfiguration) const override
 Creates the services.
::tenduke::TendukeServices create (const std::string &clientId, const ::tenduke::ServiceConfiguration &serviceConfiguration) const override
 Creates the services.

Protected Member Functions

virtual::tenduke::TendukeServices create (const std::shared_ptr<::tenduke::http::HTTPClient > &httpClient, const std::shared_ptr<::tenduke::net::URLs > &urls, const std::shared_ptr<::tenduke::json::JSONParser > &jsonParser, const std::shared_ptr<::tenduke::crypto::Crypto > &cryptoServices) const
 Creates the services using the provided dependencies.
Protected Member Functions inherited from tenduke::AbstractTendukeServiceFactory
virtual::tenduke::TendukeServices create (const std::shared_ptr<::tenduke::http::HTTPClient > &httpClient, const std::shared_ptr<::tenduke::net::URLs > &urls, const std::shared_ptr<::tenduke::json::JSONParser > &jsonParser, const std::shared_ptr<::tenduke::crypto::Crypto > &cryptoServices) const
 Creates the services using the provided dependencies.

Member Function Documentation

◆ create() [1/3]

TendukeServices tenduke::AbstractTendukeServiceFactory::create ( const std::shared_ptr<::tenduke::http::HTTPClient > & httpClient,
const std::shared_ptr<::tenduke::net::URLs > & urls,
const std::shared_ptr<::tenduke::json::JSONParser > & jsonParser,
const std::shared_ptr<::tenduke::crypto::Crypto > & cryptoServices ) const
protected

Creates the services using the provided dependencies.

Parameters
httpClient-
urls-
jsonParser-
cryptoServicesCryptography services

◆ create() [2/3]

TendukeServices tenduke::DefaultServicesFactory::create ( const std::string & clientId,
const ::tenduke::ServiceConfiguration & serviceConfiguration ) const
overridevirtual

Creates the services.

Parameters
clientIdused as user-agent.
serviceConfiguration-

Reimplemented from tenduke::AbstractTendukeServiceFactory.

◆ create() [3/3]

::tenduke::TendukeServices tenduke::DefaultServicesFactory::create ( const std::string & clientId,
const ::tenduke::ServiceConfiguration & serviceConfiguration ) const
overridevirtual

Creates the services.

Parameters
clientIdused as user-agent.
serviceConfiguration-

Reimplemented from tenduke::AbstractTendukeServiceFactory.


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