//應用回呼函式
typedef struct _CCP_CALLBACKINTERFACE{
void (*onReceiveInstanceMessage)(InstanceMsg* msg);//通知客戶端收到一條多媒體訊息或者文本訊息。客戶端需要通過型別不同,利用多型原理,轉為子類IMAttachedReceivedMsg或者IMTextReceivedMsg
void (*onSendInstanceMessage)(CloopenReason* reason, InstanceMsg* data);//發送即時訊息。客戶端需要通過型別不同,利用多型原理,轉為子類IMAttachedSendMsg或者IMSendReportMsg
}CCP_CALLBACKINTERFACE;
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/78869.html
標籤:語言基礎/算法/系統設計
上一篇:采用標準TCP/IP 協議進行短連接同步通訊 采用面向穩定連接的ASCII流(STREM)方式
下一篇:FireDac 的查詢修改問題
