mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-27 19:45:43 +03:00
ref: delete duplicate meth
This commit is contained in:
@@ -24,10 +24,11 @@ void SendSystem::setClient(Client *client,QTcpSocket *socket)
|
||||
isSendStopped = false;
|
||||
}
|
||||
|
||||
void SendSystem::sendMessageBlock(QString message)
|
||||
void SendSystem::sendNotify(QString notify)
|
||||
{
|
||||
auto messageBlock = emit sigSendNotify(message);
|
||||
sendXmlAnswer(messageBlock);
|
||||
qDebug() << "SendNotify thread: " << QThread::currentThreadId();
|
||||
auto answer = emit sigSendNotify(notify);
|
||||
sendXmlAnswer(answer);
|
||||
}
|
||||
|
||||
void SendSystem::sendFileBlock(QString path)
|
||||
@@ -234,13 +235,6 @@ void SendSystem::sendHello()
|
||||
socket->write(SERVER_HELLO);
|
||||
}
|
||||
|
||||
void SendSystem::sendNotify(QString notify)
|
||||
{
|
||||
qDebug() << "SendNotify thread: " << QThread::currentThreadId();
|
||||
auto answer = emit sigSendNotify(notify);//"END");
|
||||
sendXmlAnswer(answer);
|
||||
}
|
||||
|
||||
void SendSystem::sendXmlAnswer(QByteArray array, PacketType packetType)
|
||||
{
|
||||
qDebug() << "SendSystemThread: " << QThread::currentThreadId();
|
||||
|
||||
Reference in New Issue
Block a user