mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
добавил очищение списка клиентов в сервере при Стопе
This commit is contained in:
Binary file not shown.
@@ -46,3 +46,33 @@
|
|||||||
64 3704 7544803908142867 CMakeFiles/ServerLMS.dir/Systems/dataparser.cpp.obj 51dcd51461a6b016
|
64 3704 7544803908142867 CMakeFiles/ServerLMS.dir/Systems/dataparser.cpp.obj 51dcd51461a6b016
|
||||||
3704 4208 7544803913168184 libServerLMS.dll 72d9d1ee4784dd54
|
3704 4208 7544803913168184 libServerLMS.dll 72d9d1ee4784dd54
|
||||||
3704 4208 7544803913168184 libServerLMS.dll.a 72d9d1ee4784dd54
|
3704 4208 7544803913168184 libServerLMS.dll.a 72d9d1ee4784dd54
|
||||||
|
15 70 0 CMakeFiles/ServerLMS_autogen a1ba014d73005738
|
||||||
|
15 70 0 ServerLMS_autogen/mocs_compilation.cpp a1ba014d73005738
|
||||||
|
15 70 0 ServerLMS_autogen/include/ui_serverlmswidget.h a1ba014d73005738
|
||||||
|
15 70 0 ServerLMS_autogen/include/ui_messangerwidget.h a1ba014d73005738
|
||||||
|
15 70 0 D:/LMS/ServerLMS/Debug64/CMakeFiles/ServerLMS_autogen a1ba014d73005738
|
||||||
|
15 70 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/mocs_compilation.cpp a1ba014d73005738
|
||||||
|
15 70 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/include/ui_serverlmswidget.h a1ba014d73005738
|
||||||
|
15 70 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/include/ui_messangerwidget.h a1ba014d73005738
|
||||||
|
70 2564 7544822244090533 CMakeFiles/ServerLMS.dir/serverlmswidget.cpp.obj 7f4281861236c54a
|
||||||
|
2564 3147 7544822249891861 libServerLMS.dll 72d9d1ee4784dd54
|
||||||
|
2564 3147 7544822249891861 libServerLMS.dll.a 72d9d1ee4784dd54
|
||||||
|
18 58 0 CMakeFiles/ServerLMS_autogen a1ba014d73005738
|
||||||
|
18 58 0 ServerLMS_autogen/mocs_compilation.cpp a1ba014d73005738
|
||||||
|
18 58 0 ServerLMS_autogen/include/ui_serverlmswidget.h a1ba014d73005738
|
||||||
|
18 58 0 ServerLMS_autogen/include/ui_messangerwidget.h a1ba014d73005738
|
||||||
|
18 58 0 D:/LMS/ServerLMS/Debug64/CMakeFiles/ServerLMS_autogen a1ba014d73005738
|
||||||
|
18 58 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/mocs_compilation.cpp a1ba014d73005738
|
||||||
|
18 58 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/include/ui_serverlmswidget.h a1ba014d73005738
|
||||||
|
18 58 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/include/ui_messangerwidget.h a1ba014d73005738
|
||||||
|
58 2308 7544829037591958 CMakeFiles/ServerLMS.dir/serverlmswidget.cpp.obj 7f4281861236c54a
|
||||||
|
2308 2786 7544829042345253 libServerLMS.dll 72d9d1ee4784dd54
|
||||||
|
2308 2786 7544829042345253 libServerLMS.dll.a 72d9d1ee4784dd54
|
||||||
|
18 56 0 CMakeFiles/ServerLMS_autogen a1ba014d73005738
|
||||||
|
18 56 0 ServerLMS_autogen/mocs_compilation.cpp a1ba014d73005738
|
||||||
|
18 56 0 ServerLMS_autogen/include/ui_serverlmswidget.h a1ba014d73005738
|
||||||
|
18 56 0 ServerLMS_autogen/include/ui_messangerwidget.h a1ba014d73005738
|
||||||
|
18 56 0 D:/LMS/ServerLMS/Debug64/CMakeFiles/ServerLMS_autogen a1ba014d73005738
|
||||||
|
18 56 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/mocs_compilation.cpp a1ba014d73005738
|
||||||
|
18 56 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/include/ui_serverlmswidget.h a1ba014d73005738
|
||||||
|
18 56 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/include/ui_messangerwidget.h a1ba014d73005738
|
||||||
|
|||||||
Binary file not shown.
@@ -1,38 +1,38 @@
|
|||||||
# Generated by CMake. Changes will be overwritten.
|
# Generated by CMake. Changes will be overwritten.
|
||||||
D:/LMS/ServerLMS/ServerLMS/serverlmswidget.cpp
|
|
||||||
uic:ui_serverlmswidget.h
|
|
||||||
D:/LMS/ServerLMS/ServerLMS/multithreadserver.cpp
|
|
||||||
D:/LMS/ServerLMS/ServerLMS/clienthandler.cpp
|
|
||||||
D:/LMS/ServerLMS/ServerLMS/Systems/updatecontroller.cpp
|
|
||||||
D:/LMS/ServerLMS/ServerLMS/Systems/recognizesystem.cpp
|
|
||||||
D:/LMS/ServerLMS/ServerLMS/messangerwidget.cpp
|
|
||||||
uic:ui_messangerwidget.h
|
|
||||||
D:/LMS/ServerLMS/ServerLMS/Systems/processingsystem.cpp
|
|
||||||
D:/LMS/ServerLMS/ServerLMS/Systems/logger.cpp
|
|
||||||
D:/LMS/ServerLMS/ServerLMS/typesDataServerClient.h
|
|
||||||
D:/LMS/ServerLMS/ServerLMS/Client.h
|
|
||||||
D:/LMS/ServerLMS/ServerLMS/multithreadserver.h
|
|
||||||
mmc:Q_OBJECT
|
|
||||||
D:/LMS/ServerLMS/ServerLMS/Systems/sendsystem.h
|
D:/LMS/ServerLMS/ServerLMS/Systems/sendsystem.h
|
||||||
mmc:Q_OBJECT
|
mmc:Q_OBJECT
|
||||||
D:/LMS/ServerLMS/ServerLMS/ServerLMS_global.h
|
D:/LMS/ServerLMS/ServerLMS/ServerLMS_global.h
|
||||||
|
D:/LMS/ServerLMS/ServerLMS/multithreadserver.h
|
||||||
|
mmc:Q_OBJECT
|
||||||
|
D:/LMS/ServerLMS/ServerLMS/Client.h
|
||||||
|
D:/LMS/ServerLMS/ServerLMS/typesDataServerClient.h
|
||||||
|
D:/LMS/ServerLMS/ServerLMS/Systems/processingsystem.cpp
|
||||||
|
D:/LMS/ServerLMS/ServerLMS/messangerwidget.cpp
|
||||||
|
uic:ui_messangerwidget.h
|
||||||
|
D:/LMS/ServerLMS/ServerLMS/Systems/updatecontroller.cpp
|
||||||
|
D:/LMS/ServerLMS/ServerLMS/clienthandler.cpp
|
||||||
|
D:/LMS/ServerLMS/ServerLMS/Systems/logger.cpp
|
||||||
|
D:/LMS/ServerLMS/ServerLMS/Systems/recognizesystem.cpp
|
||||||
|
D:/LMS/ServerLMS/ServerLMS/multithreadserver.cpp
|
||||||
|
D:/LMS/ServerLMS/ServerLMS/serverlmswidget.h
|
||||||
|
mmc:Q_OBJECT
|
||||||
|
D:/LMS/ServerLMS/ServerLMS/Systems/dataparser.cpp
|
||||||
|
D:/LMS/ServerLMS/ServerLMS/messangerwidget.h
|
||||||
|
mmc:Q_OBJECT
|
||||||
|
D:/LMS/ServerLMS/ServerLMS/Systems/sendsystem.cpp
|
||||||
D:/LMS/ServerLMS/ServerLMS/Systems/dataparser.h
|
D:/LMS/ServerLMS/ServerLMS/Systems/dataparser.h
|
||||||
mmc:Q_OBJECT
|
mmc:Q_OBJECT
|
||||||
|
D:/LMS/ServerLMS/ServerLMS/clienthandler.h
|
||||||
|
mmc:Q_OBJECT
|
||||||
|
D:/LMS/ServerLMS/ServerLMS/Systems/tools.h
|
||||||
|
D:/LMS/ServerLMS/ServerLMS/Systems/updatecontroller.h
|
||||||
|
mmc:Q_OBJECT
|
||||||
|
D:/LMS/ServerLMS/ServerLMS/Systems/recognizesystem.h
|
||||||
|
mmc:Q_OBJECT
|
||||||
|
D:/LMS/ServerLMS/ServerLMS/Systems/processingsystem.h
|
||||||
|
mmc:Q_OBJECT
|
||||||
D:/LMS/ServerLMS/ServerLMS/Systems/tools.cpp
|
D:/LMS/ServerLMS/ServerLMS/Systems/tools.cpp
|
||||||
D:/LMS/ServerLMS/ServerLMS/Systems/logger.h
|
D:/LMS/ServerLMS/ServerLMS/Systems/logger.h
|
||||||
mmc:Q_OBJECT
|
mmc:Q_OBJECT
|
||||||
D:/LMS/ServerLMS/ServerLMS/Systems/processingsystem.h
|
D:/LMS/ServerLMS/ServerLMS/serverlmswidget.cpp
|
||||||
mmc:Q_OBJECT
|
uic:ui_serverlmswidget.h
|
||||||
D:/LMS/ServerLMS/ServerLMS/Systems/recognizesystem.h
|
|
||||||
mmc:Q_OBJECT
|
|
||||||
D:/LMS/ServerLMS/ServerLMS/Systems/updatecontroller.h
|
|
||||||
mmc:Q_OBJECT
|
|
||||||
D:/LMS/ServerLMS/ServerLMS/Systems/tools.h
|
|
||||||
D:/LMS/ServerLMS/ServerLMS/clienthandler.h
|
|
||||||
mmc:Q_OBJECT
|
|
||||||
D:/LMS/ServerLMS/ServerLMS/Systems/sendsystem.cpp
|
|
||||||
D:/LMS/ServerLMS/ServerLMS/messangerwidget.h
|
|
||||||
mmc:Q_OBJECT
|
|
||||||
D:/LMS/ServerLMS/ServerLMS/Systems/dataparser.cpp
|
|
||||||
D:/LMS/ServerLMS/ServerLMS/serverlmswidget.h
|
|
||||||
mmc:Q_OBJECT
|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -142,7 +142,8 @@ bool ServerLMSWidget::stopServer()
|
|||||||
autorizationHandler(clientsMap[idSocket]->getClient()->getLogin());
|
autorizationHandler(clientsMap[idSocket]->getClient()->getLogin());
|
||||||
|
|
||||||
clientsMap[idSocket]->sigSocketClose();
|
clientsMap[idSocket]->sigSocketClose();
|
||||||
clientsMap.remove(idSocket);
|
//clientsMap.remove(idSocket);
|
||||||
|
removeClient(idSocket);
|
||||||
}
|
}
|
||||||
|
|
||||||
//Закрываем сервер
|
//Закрываем сервер
|
||||||
@@ -198,6 +199,7 @@ void ServerLMSWidget::slotAddToMessanger(QString login, QString text)
|
|||||||
void ServerLMSWidget::removeClient(int idSocket)
|
void ServerLMSWidget::removeClient(int idSocket)
|
||||||
{
|
{
|
||||||
clientsMap.remove(idSocket);
|
clientsMap.remove(idSocket);
|
||||||
|
slotUpdateListClients();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ServerLMSWidget::addClient(qintptr descriptor, ClientHandler *client)
|
void ServerLMSWidget::addClient(qintptr descriptor, ClientHandler *client)
|
||||||
|
|||||||
@@ -44,3 +44,15 @@
|
|||||||
47 2260 7544804014595305 CMakeFiles/TestServerLMS.dir/TestServerLMS_autogen/mocs_compilation.cpp.obj 4bc2eca6dcd8a69e
|
47 2260 7544804014595305 CMakeFiles/TestServerLMS.dir/TestServerLMS_autogen/mocs_compilation.cpp.obj 4bc2eca6dcd8a69e
|
||||||
52 2391 7544804015892464 CMakeFiles/TestServerLMS.dir/mainwindow.cpp.obj 365b2bb39da65578
|
52 2391 7544804015892464 CMakeFiles/TestServerLMS.dir/mainwindow.cpp.obj 365b2bb39da65578
|
||||||
2391 2582 7544804017788729 TestServerLMS.exe 66dadfaf4d2d246e
|
2391 2582 7544804017788729 TestServerLMS.exe 66dadfaf4d2d246e
|
||||||
|
14 61 0 CMakeFiles/TestServerLMS_autogen 5989ad27e0bf1fd0
|
||||||
|
14 61 0 TestServerLMS_autogen/mocs_compilation.cpp 5989ad27e0bf1fd0
|
||||||
|
14 61 0 TestServerLMS_autogen/include/ui_mainwindow.h 5989ad27e0bf1fd0
|
||||||
|
14 61 0 D:/LMS/TestServerLMS/Debug64/CMakeFiles/TestServerLMS_autogen 5989ad27e0bf1fd0
|
||||||
|
14 61 0 D:/LMS/TestServerLMS/Debug64/TestServerLMS_autogen/mocs_compilation.cpp 5989ad27e0bf1fd0
|
||||||
|
14 61 0 D:/LMS/TestServerLMS/Debug64/TestServerLMS_autogen/include/ui_mainwindow.h 5989ad27e0bf1fd0
|
||||||
|
15 46 0 CMakeFiles/TestServerLMS_autogen 5989ad27e0bf1fd0
|
||||||
|
15 46 0 TestServerLMS_autogen/mocs_compilation.cpp 5989ad27e0bf1fd0
|
||||||
|
15 46 0 TestServerLMS_autogen/include/ui_mainwindow.h 5989ad27e0bf1fd0
|
||||||
|
15 46 0 D:/LMS/TestServerLMS/Debug64/CMakeFiles/TestServerLMS_autogen 5989ad27e0bf1fd0
|
||||||
|
15 46 0 D:/LMS/TestServerLMS/Debug64/TestServerLMS_autogen/mocs_compilation.cpp 5989ad27e0bf1fd0
|
||||||
|
15 46 0 D:/LMS/TestServerLMS/Debug64/TestServerLMS_autogen/include/ui_mainwindow.h 5989ad27e0bf1fd0
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user