31 #include <QAbstractSocket>
35 #include "host_controller.h"
36 #include "client_connection.h"
57 void incomingConnection(qintptr socketDescriptor);
61 QSemaphore request_mutex;
78 #endif // DISPATCHER_H
Definition: host_controller.h:39
Definition: dispatcher.h:38
void request_completed(const QString &command)
Handler to cleanup after a job finishes and prepares for the next job to run.
Definition: dispatcher.cpp:87
bool queue_busy()
A 'busy signal' check.
Definition: dispatcher.cpp:80
void startServer(int port)
Call startServer to listen for client connections. Server does not process requests until this is cal...
Definition: dispatcher.cpp:43
void queue_request(QString command)
Asynchronous request for a job to run.
Definition: dispatcher.cpp:68