8 #ifndef SERVERHANDLER_H
9 #define SERVERHANDLER_H
16 #include <QCryptographicHash>
44 explicit ServerHandler(QMutex* m, qintptr handle = 0, QObject* parent =
nullptr);
73 QTcpSocket* clientSocket_;
This file contains the declaration of the RequestManager class, which handles incoming requests and d...
The RequestManager class handles incoming requests and dispatches them to the appropriate request han...
Definition: RequestManager.h:38
The ServerHandler class handles incoming client connections in a separate thread.
Definition: serverhandler.h:31
ServerHandler(QMutex *m, qintptr handle=0, QObject *parent=nullptr)
Constructs a ServerHandler object with the specified parameters.
Definition: serverhandler.cpp:3
~ServerHandler()
Destructor for the ServerHandler class.
Definition: serverhandler.cpp:11
void run()
Implements QRunnable's run method to handle the client connection.
Definition: serverhandler.cpp:56
void readyRead()
Slot to handle readyRead signal from QTcpSocket.
Definition: serverhandler.cpp:22