21 #include "cafNotNull.h" 22 #include "cafRpcServerApplication.h" 23 #include "cafSession.h" 27 #include <boost/asio.hpp> 28 #include <boost/beast/ssl.hpp> 35 namespace ssl = boost::asio::ssl;
40 class RestAuthenticator;
57 unsigned short portNumber,
59 std::shared_ptr<const RestAuthenticator> authenticator );
62 int portNumber()
const override;
65 bool running()
const override;
68 std::string m_clientHost;
69 unsigned short m_portNumber;
71 net::io_context m_ioContext;
72 std::shared_ptr<const RestAuthenticator> m_authenticator;
73 std::shared_ptr<ssl::context> m_sslContext;
74 std::shared_ptr<RestServer> m_server;
75 std::atomic<bool> m_threadRunning;
Definition: cafRestClient.h:44
Definition: cafRpcServerApplication.h:33
Definition: cafRestServerApplication.h:46
RestServerApplication(const std::string &clientHost, unsigned short portNumber, int threads, std::shared_ptr< const RestAuthenticator > authenticator)
Definition: cafRestServerApplication.cpp:38
Definition: cafRestAppService.h:28