Skip to content

Commit 2349817

Browse files
committed
update:vscopy and docment
fixed:tszMQUsr notify to online is not work
1 parent 18bed6f commit 2349817

File tree

7 files changed

+36
-29
lines changed

7 files changed

+36
-29
lines changed

CHANGELOG

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
XEngine_MQService V3.9.0.1001
2+
3+
增加:消息属性的通知所有和通知自身的支持
4+
增加:为指定用户发送消息
5+
增加:http管理接口获取在线用户列表
6+
优化:内存的消息通知处理方法
7+
优化:查询数据库的方法
8+
修正:当消息通知的时候客户端网络类型不正确的问题
9+
修正:无论用户是否在线都进行消息通知的问题
10+
修正:DBModule_MQUser_KeyList函数列举数据不正确的问题
11+
修正:未读协议内存溢出
12+
修正:未读协议序列号处理错误
13+
删除:获取消息次数支持
14+
删除:定时发布的break字段
15+
16+
added:message attritube supported with notify all and notify self
17+
added:send a message for a specific user
18+
added:get online user list for http restful
19+
improved:memory and process way for msg notify
20+
improved:query sql point handle way
21+
fixed:client nettype is incorrent when message notify
22+
fixed:Doesn't handle whether the client is online or not when a message notification is made
23+
fixed:DBModule_MQUser_KeyList function list is incorrent
24+
fixed:unread protocol memory leak
25+
fixed:unread protocol serial handle is incorrent
26+
delete:get time number supported
27+
delete:time publish break field
28+
======================================================================================
129
XEngine_MQService V3.8.0.1001
230

331
增加:websocket的二进制消息负载能力支持

XEngine_Docment/Docment_en.docx

163 Bytes
Binary file not shown.

XEngine_Docment/Docment_zh.docx

148 Bytes
Binary file not shown.

XEngine_Source/VSCopy-x64.bat

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,4 @@ copy /y "%XEngine_Lib64%\XEngine_HelpComponents\HelpComponents_XLog.dll" "./"
1212
copy /y "%XEngine_Lib64%\XEngine_HelpComponents\HelpComponents_DataBase.dll" "./"
1313

1414
copy /y "%XEngine_Lib64%\XEngine_RfcComponents\RfcComponents_HttpProtocol.dll" "./"
15-
copy /y "%XEngine_Lib64%\XEngine_RfcComponents\RfcComponents_WSProtocol.dll" "./"
16-
17-
copy /y "%XEngine_Lib64%\XEngine_LibEx\libcrypto-3-x64.dll" "./"
18-
copy /y "%XEngine_Lib64%\XEngine_LibEx\libssl-3-x64.dll" "./"
19-
copy /y "%XEngine_Lib64%\XEngine_NetHelp\nghttp2.dll" "./"
20-
copy /y "%XEngine_Lib64%\XEngine_NetHelp\libcurl.dll" "./"
21-
copy /y "%XEngine_Lib64%\XEngine_HelpComponents\zlib1.dll" "./"
22-
copy /y "%XEngine_Lib64%\XEngine_HelpComponents\bson-1.0.dll" "./"
23-
copy /y "%XEngine_Lib64%\XEngine_HelpComponents\mongoc-1.0.dll" "./"
24-
copy /y "%XEngine_Lib64%\XEngine_HelpComponents\libmariadb.dll" "./"
25-
copy /y "%XEngine_Lib64%\XEngine_HelpComponents\libpq.dll" "./"
26-
copy /y "%XEngine_Lib64%\XEngine_HelpComponents\sqlite3.dll" "./"
27-
copy /y "%XEngine_Lib64%\XEngine_HelpComponents\plugin\caching_sha2_password.dll" "./"
15+
copy /y "%XEngine_Lib64%\XEngine_RfcComponents\RfcComponents_WSProtocol.dll" "./"

XEngine_Source/VSCopy-x86.bat

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,4 @@ copy /y "%XEngine_Lib32%\XEngine_HelpComponents\HelpComponents_XLog.dll" "./"
1212
copy /y "%XEngine_Lib32%\XEngine_HelpComponents\HelpComponents_DataBase.dll" "./"
1313

1414
copy /y "%XEngine_Lib32%\XEngine_RfcComponents\RfcComponents_HttpProtocol.dll" "./"
15-
copy /y "%XEngine_Lib32%\XEngine_RfcComponents\RfcComponents_WSProtocol.dll" "./"
16-
17-
copy /y "%XEngine_Lib32%\XEngine_LibEx\libcrypto-3.dll" "./"
18-
copy /y "%XEngine_Lib32%\XEngine_LibEx\libssl-3.dll" "./"
19-
copy /y "%XEngine_Lib32%\XEngine_NetHelp\nghttp2.dll" "./"
20-
copy /y "%XEngine_Lib32%\XEngine_NetHelp\libcurl.dll" "./"
21-
copy /y "%XEngine_Lib32%\XEngine_HelpComponents\zlib1.dll" "./"
22-
copy /y "%XEngine_Lib32%\XEngine_HelpComponents\bson-1.0.dll" "./"
23-
copy /y "%XEngine_Lib32%\XEngine_HelpComponents\mongoc-1.0.dll" "./"
24-
copy /y "%XEngine_Lib32%\XEngine_HelpComponents\libmariadb.dll" "./"
25-
copy /y "%XEngine_Lib32%\XEngine_HelpComponents\libpq.dll" "./"
26-
copy /y "%XEngine_Lib32%\XEngine_HelpComponents\sqlite3.dll" "./"
27-
copy /y "%XEngine_Lib32%\XEngine_HelpComponents\plugin\caching_sha2_password.dll" "./"
15+
copy /y "%XEngine_Lib32%\XEngine_RfcComponents\RfcComponents_WSProtocol.dll" "./"

XEngine_Source/VSCopy_Debug.bat

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,4 @@ copy /y "D:\XEngine\XEngine_SourceCode\Debug\HelpComponents_XLog.dll" "./"
1212
copy /y "D:\XEngine\XEngine_SourceCode\Debug\HelpComponents_DataBase.dll" "./"
1313

1414
copy /y "D:\XEngine\XEngine_SourceCode\Debug\RfcComponents_HttpProtocol.dll" "./"
15-
copy /y "D:\XEngine\XEngine_SourceCode\Debug\RfcComponents_WSProtocol.dll" "./"
16-
17-
copy /y "D:\XEngine\XEngine_SourceCode\Debug\libcurl-d.dll" "./"
15+
copy /y "D:\XEngine\XEngine_SourceCode\Debug\RfcComponents_WSProtocol.dll" "./"

XEngine_Source/XEngine_MQServiceApp/MQService_TCPTask.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,11 @@ bool MessageQueue_TCP_Handle(XENGINE_PROTOCOLHDR* pSt_ProtocolHdr, LPCXSTR lpszC
445445
//只有在线用户才需要即时通知
446446
if (SessionModule_Client_GetExist(NULL, tszUserName))
447447
{
448+
//如果发送指定用户被指定.
449+
if ((_tcsxlen(st_MQProtocol.tszMQUsr) > 0) && (0 != _tcsxnicmp(st_MQProtocol.tszMQUsr, tszUserName, _tcsxlen(st_MQProtocol.tszMQUsr))))
450+
{
451+
break;
452+
}
448453
SessionModule_Client_GetAddr(ppSt_ListUser[i]->tszUserName, tszUserAddr);
449454
SessionModule_Client_GetType(tszUserAddr, &nClientType);
450455
ProtocolModule_Packet_Common(nClientType, pSt_ProtocolHdr, &st_MQProtocol, tszSDBuffer, &nSDLen, lpszMsgBuffer + sizeof(XENGINE_PROTOCOL_XMQ), nMsgLen - sizeof(XENGINE_PROTOCOL_XMQ));

0 commit comments

Comments
 (0)