コード例 #1
0
 /// <summary>
 /// This method is called by MainForm when a ClientApplicationRemovedEventMessage received from MDS Server.
 /// </summary>
 /// <param name="message"></param>
 public void GetClientApplicationRemovedEventMessage(ClientApplicationRemovedEventMessage message)
 {
     lock (_applicationList)
     {
         RemoveApplicationFromList(message.ApplicationName);
     }
 }
コード例 #2
0
ファイル: MainForm.cs プロジェクト: yonglehou/dotnetmq
 /// <summary>
 /// Processes a ClientApplicationRemovedEventMessage message.
 /// </summary>
 /// <param name="message">Message to process</param>
 private void ProcessClientApplicationRemovedEventMessage(ClientApplicationRemovedEventMessage message)
 {
     if (_applicationListForm != null)
     {
         _applicationListForm.GetClientApplicationRemovedEventMessage(message);
     }
 }