10Duke Scale C++ Client
Loading...
Searching...
No Matches
tenduke::http::server::HTTPServerFactory Class Referenceabstract

#include <HTTPServerFactory.h>

Detailed Description

Creates HTTPServer.

Inheritance diagram for tenduke::http::server::HTTPServerFactory:
tenduke::osa::DefaultHTTPServerFactory tenduke::test::mocks::HTTPServerFactoryMock

Public Member Functions

virtual std::unique_ptr< tenduke::http::server::AbstractHTTPServercreate (std::uint16_t port) const =0
 Creates the HTTP-server.
 

Member Function Documentation

◆ create()

virtual std::unique_ptr< tenduke::http::server::AbstractHTTPServer > tenduke::http::server::HTTPServerFactory::create ( std::uint16_t  port) const
pure virtual

Creates the HTTP-server.

Parameters
portport wanted. Use the magic value tenduke::http::server::RANDOM_AVAILABLE_PORT to request random available port
Returns
new HTTP-server instance

Implemented in tenduke::osa::DefaultHTTPServerFactory.


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