- Timestamp:
- 12/11/11 16:37:05 (13 years ago)
- 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 125 125 } 126 126 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)); 128 128 } 129 129 return prog; -
trunk/sources/HeuristicLab.Clients.Hive.Slave/3.3/Manager/HeartbeatManager.cs
r7166 r7171 83 83 while (!threadStopped) { 84 84 try { 85 SlaveClientCom.Instance. ClientCom.StatusChanged(ConfigManager.Instance.GetStatusForClientConsole());85 SlaveClientCom.Instance.StatusChanged(ConfigManager.Instance.GetStatusForClientConsole()); 86 86 } 87 87 catch (Exception ex) { … … 109 109 }; 110 110 111 SlaveClientCom.Instance. ClientCom.LogMessage("Send HB: " + heartBeatData);111 SlaveClientCom.Instance.LogMessage("Send HB: " + heartBeatData); 112 112 List<MessageContainer> msgs = wcfService.SendHeartbeat(heartBeatData); 113 113 114 114 if (msgs == null) { 115 SlaveClientCom.Instance. ClientCom.LogMessage("Error getting response from HB");115 SlaveClientCom.Instance.LogMessage("Error getting response from HB"); 116 116 OnExceptionOccured(new Exception("Error getting response from HB")); 117 117 } 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())); 120 120 msgs.ForEach(mc => MessageQueue.GetInstance().AddMessage(mc)); 121 121 } … … 124 124 } 125 125 catch (Exception e) { 126 SlaveClientCom.Instance. ClientCom.LogMessage("Heartbeat thread failed: " + e.ToString());126 SlaveClientCom.Instance.LogMessage("Heartbeat thread failed: " + e.ToString()); 127 127 OnExceptionOccured(e); 128 128 } … … 130 130 } 131 131 waitHandle.Close(); 132 SlaveClientCom.Instance. ClientCom.LogMessage("Heartbeat thread stopped");132 SlaveClientCom.Instance.LogMessage("Heartbeat thread stopped"); 133 133 } 134 134
Note: See TracChangeset
for help on using the changeset viewer.