Exemple #1
0
 /// <summary>
 /// 通知客户端到文件服务器下载已上传完成的文件
 /// </summary>
 /// <param name="FileMsg"></param>
 /// <param name="session"></param>
 private void onTCPImageFile(TCPImageFile msg, string XMLMsg, TCPServerSession session)
 {
     if (msg.MessageType == IMLibrary3.Enmu.MessageType.User)//如果消息发送给用户
     {
         SendMessageToUser(msg.to, XMLMsg);
     }
     else if (msg.MessageType == IMLibrary3.Enmu.MessageType.Group)
     {
         SendMessageToRoom(msg.from, msg.to, XMLMsg);
     }
 }
Exemple #2
0
 /// <summary>
 /// 通知客户端到文件服务器下载已上传完成的文件
 /// </summary>
 /// <param name="FileMsg"></param>
 /// <param name="session"></param>
 private void onTCPImageFile(TCPImageFile msg, string XMLMsg, TCPServerSession session)
 {
     if (msg.MessageType == IMLibrary3.Enmu.MessageType.User)//如果消息发送给用户
     {
         SendMessageToUser(msg.to, XMLMsg);
     }
     else if (msg.MessageType == IMLibrary3.Enmu.MessageType.Group)
     {
         SendMessageToRoom(msg.from, msg.to, XMLMsg);
     }
 }