This commit is contained in:
2026-02-10 16:28:28 +03:00
parent 2cce331a67
commit ed7de8af4e
35 changed files with 418 additions and 358 deletions

View File

@@ -12,6 +12,8 @@ MultiThreadServer::MultiThreadServer(UpdateController *updateController, DocsUpd
stateServer(stoped),
stateBlockAutorization(blocked)
{
qDebug() << "MultiThreadServer init thread ID " << QThread::currentThreadId();
clientsMap = new QMap<int,ClientHandler*>;
mutex = new QMutex;

View File

@@ -5,11 +5,15 @@
#include "clienthandler.h"
#include "Data/PacketType.h"
#include "updatecontroller.h"
#include "Parsers/dataparser.h"
#include <QObject>
class ProcessingSystem;
class ClientHandler;
class DocsUpdater;
class DataParser;
class UpdateController;
class MultiThreadServer : public QTcpServer
{
Q_OBJECT