Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/11/11 16:37:05 (13 years ago)
Author:
ascheibe
Message:

#1672 communication with ui should be more stable now

Location:
trunk/sources/HeuristicLab.Clients.Hive.Slave/3.3/Manager
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Clients.Hive.Slave/3.3/Manager/ConfigManager.cs

    r6983 r7171  
    125125      }
    126126      catch (Exception ex) {
    127         SlaveClientCom.Instance.ClientCom.LogMessage(string.Format("Exception was thrown while trying to get execution times: {0}", ex.Message));
     127        SlaveClientCom.Instance.LogMessage(string.Format("Exception was thrown while trying to get execution times: {0}", ex.Message));
    128128      }
    129129      return prog;
  • trunk/sources/HeuristicLab.Clients.Hive.Slave/3.3/Manager/HeartbeatManager.cs

    r7166 r7171  
    8383      while (!threadStopped) {
    8484        try {
    85           SlaveClientCom.Instance.ClientCom.StatusChanged(ConfigManager.Instance.GetStatusForClientConsole());
     85          SlaveClientCom.Instance.StatusChanged(ConfigManager.Instance.GetStatusForClientConsole());
    8686        }
    8787        catch (Exception ex) {
     
    109109              };
    110110
    111               SlaveClientCom.Instance.ClientCom.LogMessage("Send HB: " + heartBeatData);
     111              SlaveClientCom.Instance.LogMessage("Send HB: " + heartBeatData);
    112112              List<MessageContainer> msgs = wcfService.SendHeartbeat(heartBeatData);
    113113
    114114              if (msgs == null) {
    115                 SlaveClientCom.Instance.ClientCom.LogMessage("Error getting response from HB");
     115                SlaveClientCom.Instance.LogMessage("Error getting response from HB");
    116116                OnExceptionOccured(new Exception("Error getting response from HB"));
    117117              } else {
    118                 SlaveClientCom.Instance.ClientCom.LogMessage("HB Response received (" + msgs.Count + "): ");
    119                 msgs.ForEach(mc => SlaveClientCom.Instance.ClientCom.LogMessage(mc.Message.ToString()));
     118                SlaveClientCom.Instance.LogMessage("HB Response received (" + msgs.Count + "): ");
     119                msgs.ForEach(mc => SlaveClientCom.Instance.LogMessage(mc.Message.ToString()));
    120120                msgs.ForEach(mc => MessageQueue.GetInstance().AddMessage(mc));
    121121              }
     
    124124        }
    125125        catch (Exception e) {
    126           SlaveClientCom.Instance.ClientCom.LogMessage("Heartbeat thread failed: " + e.ToString());
     126          SlaveClientCom.Instance.LogMessage("Heartbeat thread failed: " + e.ToString());
    127127          OnExceptionOccured(e);
    128128        }
     
    130130      }
    131131      waitHandle.Close();
    132       SlaveClientCom.Instance.ClientCom.LogMessage("Heartbeat thread stopped");
     132      SlaveClientCom.Instance.LogMessage("Heartbeat thread stopped");
    133133    }
    134134
Note: See TracChangeset for help on using the changeset viewer.