Ejemplo n.º 1
0
 public void InterBigScreen(string conferenceName, string sharer)
 {
     lock (objEnterBigScreen)
     {
         try
         {
             //会议名称不为空
             if (string.IsNullOrEmpty(conferenceName))
             {
                 return;
             }
             BigScreenEnterEntity bigScreenEnterEntity = new BigScreenEnterEntity();
             bigScreenEnterEntity.Sharer = sharer;
             //实时同步(发送信息给客户端)
             this.InformClient2(conferenceName, bigScreenEnterEntity);
         }
         catch (Exception ex)
         {
             LogManage.WriteLog(this.GetType(), ex);
         }
     }
 }
 public void InterBigScreen(int conferenceID, string sharer)
 {
     lock (objEnterBigScreen)
     {
         try
         {
             //会议名称不为空
             if (conferenceID == 0)
             {
                 return;
             }
             BigScreenEnterEntity bigScreenEnterEntity = new BigScreenEnterEntity();
             bigScreenEnterEntity.Sharer = sharer;
             //实时同步(发送信息给客户端)
             this.InformClient(conferenceID, LyncConversationFlgType.EnterBigScreen, bigScreenEnterEntity);
         }
         catch (Exception ex)
         {
             LogManage.WriteLog(this.GetType(), ex);
         }
     }
 }
Ejemplo n.º 3
0
 /// <summary>
 /// 实时同步(发送信息给客户端)
 /// </summary>
 /// <param name="conferenceName">会议名称</param>
 public void InformClient2(string conferenceName, BigScreenEnterEntity bigScreenEnterEntity)
 {
     try
     {
         //会议名称不为空
         if (!string.IsNullOrEmpty(conferenceName))
         {
             //生成一个数据包(文件甩屏)
             PackageBase pack = new PackageBase()
             {
                 ConferenceClientAcceptType = ConferenceWebCommon.Common.ConferenceClientAcceptType.LyncConversationSync,
             };
             pack.LyncConversationFlg.BigScreenEnterEntity    = bigScreenEnterEntity;
             pack.LyncConversationFlg.LyncConversationFlgType = LyncConversationFlgType.EnterBigScreen;
             //会议通讯节点信息发送管理中心
             Constant.SendClientCenterManage(Constant.DicLyncMeetServerSocket, conferenceName, pack);
         }
     }
     catch (Exception ex)
     {
         LogManage.WriteLog(this.GetType(), ex);
     }
 }