23 #ifndef __PLUGINS_WEBVIEW_WEBVIEW_THREAD_H_
24 #define __PLUGINS_WEBVIEW_WEBVIEW_THREAD_H_
26 #include <core/threading/thread.h>
27 #include <aspect/logging.h>
28 #include <aspect/configurable.h>
29 #include <aspect/blackboard.h>
30 #include <aspect/network.h>
31 #include <aspect/logger.h>
32 #include <aspect/plugin_director.h>
33 #include <aspect/webview.h>
35 #include <logging/cache.h>
40 class WebRequestDispatcher;
75 void ssl_create(
const char *ssl_key_file,
const char *ssl_cert_file);
79 protected:
virtual void run() { Thread::run(); }
94 unsigned int __cfg_port;
96 bool __cfg_ssl_create;
97 std::string __cfg_ssl_key;
98 std::string __cfg_ssl_cert;
99 bool __cfg_use_basic_auth;
100 std::string __cfg_basic_auth_realm;
Thread aspect that allows to provide a logger to Fawkes.
Encapsulation of the libmicrohttpd webserver.
Thread aspect to access to BlackBoard.
virtual void init()
Initialize the thread.
virtual void finalize()
Finalize the thread.
WebviewThread()
Constructor.
static const char * STATIC_URL_PREFIX
Prefix for the WebStaticRequestProcessor.
virtual void run()
Stub to see name in backtrace for easier debugging.
Thread aspect for network communication.
Thread class encapsulation of pthreads.
Static file web processor.
Thread aspect to access the PluginManager.
BlackBoard web request processor.
Webview user verification.
Thread aspect to log output.
static const char * BLACKBOARD_URL_PREFIX
Prefix for the WebBlackBoardRequestProcessor.
Representation of a service announced or found via service discovery (i.e.
Thread aspect to access configuration data.
static const char * PLUGINS_URL_PREFIX
Prefix for the WebPluginsRequestProcessor.
Thread aspect to provide web pages via Webview.
Browse handler to detect other Webview instances on the network.
virtual void loop()
Code to execute in the thread.
Plugins web request processor.