Drop server v1

This commit is contained in:
luisangelsm
2026-02-20 19:01:49 +01:00
parent e3aeb867f4
commit d898a56f3f
31 changed files with 6 additions and 1386 deletions

View File

@ -4,34 +4,20 @@
#include <QObject>
#include <QtCore>
namespace stefanfrings {
class HttpSessionStore;
}
class YACReaderHttpSession;
class YACReaderHttpSessionStore : public QObject
{
Q_OBJECT
public:
explicit YACReaderHttpSessionStore(stefanfrings::HttpSessionStore *sessionStore, QObject *parent = nullptr);
explicit YACReaderHttpSessionStore(QObject *parent = nullptr);
void addYACReaderHttpSession(const QByteArray &httpSessionId, YACReaderHttpSession *yacreaderHttpSession);
YACReaderHttpSession *getYACReaderSessionHttpSession(const QByteArray &httpSessionId);
signals:
public slots:
private:
QMap<QByteArray, YACReaderHttpSession *> sessions;
stefanfrings::HttpSessionStore *sessionStore;
QTimer cleanupTimer;
QMutex mutex;
private slots:
void sessionTimerEvent();
};
#endif // YACREADERHTTPSESSIONSTORE_H