예제 #1
0
 /// <summary>
 /// </summary>
 /// <param name="msg">
 /// </param>
 public void SendAOtomationMessageBodyToClient(IMSendAOtomationMessageBodyToClient msg)
 {
     if (msg.client != null)
     {
         msg.client.SendCompressed(msg.Body);
     }
 }
예제 #2
0
 /// <summary>
 /// </summary>
 /// <param name="msg">
 /// </param>
 public void SendAOtomationMessageBodyToClient(IMSendAOtomationMessageBodyToClient msg)
 {
     if (msg.client != null)
     {
         try
         {
             LogUtil.Debug(DebugInfoDetail.AoTomation, msg.Body.GetType().ToString());
             msg.client.SendCompressed(msg.Body);
         }
         catch (Exception e)
         {
             LogUtil.Debug(
                 DebugInfoDetail.Error,
                 msg.Body.GetType().ToString() + Environment.NewLine + e.Message);
             // /!\ This happens sometimes, dont know why tho, need more investigation
             // throw;
         }
     }
 }