Go to the documentation of this file.
7 #define LOC (QString("%1: ").arg(objectName()))
10 const QString& ThreadName, qintptr Socket,
bool Ssl)
13 m_config(std::move(Config)),
int exec(void)
Enters the qt event loop. call exit or quit to exit thread.
void HostsChanged(const QStringList &Hosts)
MythHTTPServer * m_server
void ServicesChanged(const HTTPServices &Services)
void ThreadUpgraded(QThread *Thread)
void RunProlog(void)
Sets up a thread, call this if you reimplement run().
void ServicesChanged(const HTTPServices &Services)
void ThreadUpgraded(QThread *Thread)
MythHTTPSocket * m_socket
void PathsChanged(const QStringList &Paths)
Update our list of recognised file paths.
void RunEpilog(void)
Cleans up a thread's resources, call this if you reimplement run().
void HostsChanged(const QStringList &Hosts)
void Quit()
Tell the socket to complete and disconnect.
void HandlersChanged(const HTTPHandlers &Handlers)
void run() override
Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead.
MythHTTPThread(MythHTTPServer *Server, MythHTTPConfig Config, const QString &ThreadName, qintptr Socket, bool Ssl)
This is a wrapper around QThread that does several additional things.
void OriginsChanged(const QStringList &Origins)
Update the list of allowed Origins.
void PathsChanged(const QStringList &Paths)
void OriginsChanged(const QStringList &Origins)
void HandlersChanged(const HTTPHandlers &Handlers)