From d29719a98dbe53886d9944404ed30144677b59e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= <luisangelsm@gmail.com> Date: Fri, 24 Jun 2016 18:32:22 +0200 Subject: [PATCH] Renamed the method used for adding sessions. --- YACReaderLibrary/server/yacreader_http_session_store.cpp | 2 +- YACReaderLibrary/server/yacreader_http_session_store.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/YACReaderLibrary/server/yacreader_http_session_store.cpp b/YACReaderLibrary/server/yacreader_http_session_store.cpp index 10f71105..122c7b9c 100644 --- a/YACReaderLibrary/server/yacreader_http_session_store.cpp +++ b/YACReaderLibrary/server/yacreader_http_session_store.cpp @@ -11,7 +11,7 @@ YACReaderHttpSessionStore::YACReaderHttpSessionStore(HttpSessionStore *sessionSt cleanupTimer.start(60000); } -void YACReaderHttpSessionStore::setYACReaderHttpSession(const QByteArray &httpSessionId, YACReaderHttpSession *yacreaderHttpSession) +void YACReaderHttpSessionStore::addYACReaderHttpSession(const QByteArray &httpSessionId, YACReaderHttpSession *yacreaderHttpSession) { QMutexLocker locker(&mutex); diff --git a/YACReaderLibrary/server/yacreader_http_session_store.h b/YACReaderLibrary/server/yacreader_http_session_store.h index fe88cbdf..6001c7ab 100644 --- a/YACReaderLibrary/server/yacreader_http_session_store.h +++ b/YACReaderLibrary/server/yacreader_http_session_store.h @@ -17,7 +17,7 @@ class YACReaderHttpSessionStore : public QObject public: explicit YACReaderHttpSessionStore(HttpSessionStore *sessionStore, QObject *parent = 0); - void setYACReaderHttpSession(const QByteArray & httpSessionId, YACReaderHttpSession *yacreaderHttpSession); + void addYACReaderHttpSession(const QByteArray & httpSessionId, YACReaderHttpSession *yacreaderHttpSession); YACReaderHttpSession *getYACReaderSessionHttpSession(const QByteArray & httpSessionId); signals: