1 #ifndef UMPS_PROXY_SERVICES_COMMAND_PROXY_HPP
2 #define UMPS_PROXY_SERVICES_COMMAND_PROXY_HPP
6 namespace Authentication
20 namespace ConnectionInformation
25 namespace ProxyServices::Command
35 namespace UMPS::ProxyServices::Command
46 explicit Proxy(std::shared_ptr<UMPS::Logging::ILog> &logger);
48 Proxy(std::shared_ptr<UMPS::Logging::ILog> &logger,
49 std::shared_ptr<UMPS::Authentication::IAuthenticator> &authenticator);
51 Proxy(std::shared_ptr<UMPS::Logging::ILog> &logger,
52 std::shared_ptr<UMPS::Authentication::IAuthenticator> &frontendAuthenticator,
53 std::shared_ptr<UMPS::Authentication::IAuthenticator> &backendAuthenticator);
65 [[nodiscard]] std::
string getName() const;
92 std::unique_ptr<ProxyImpl> pImpl;
std::string getName() const
Services::ConnectionInformation::Details getConnectionDetails() const
Proxy(std::shared_ptr< UMPS::Logging::ILog > &logger)
Constructor with a given logger.
Proxy(std::shared_ptr< UMPS::Logging::ILog > &logger, std::shared_ptr< UMPS::Authentication::IAuthenticator > &frontendAuthenticator, std::shared_ptr< UMPS::Authentication::IAuthenticator > &backendAuthenticator)
Constructor with a given logger and frontend and backend authenticator.
void initialize(const ProxyOptions &options)
Initializes the proxy.
void stop()
Stops the proxy.
void start()
Starts the proxy.
Proxy(std::shared_ptr< UMPS::Logging::ILog > &logger, std::shared_ptr< UMPS::Authentication::IAuthenticator > &authenticator)
Constructor with a logger and given authenticator.
bool isRunning() const noexcept
bool isInitialized() const noexcept
Defines the options for the command proxy.
Definition: proxyOptions.hpp:21