Changeset 383
- Timestamp:
- 07/12/08 11:46:21 (16 years ago)
- Location:
- trunk/sources
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.CEDMA.Core/AgentList.cs
r377 r383 33 33 namespace HeuristicLab.CEDMA.Core { 34 34 public class AgentList : ItemBase, IAgentList { 35 private string serverUri;36 35 private List<IAgent> agentList; 37 36 private IDatabase database; -
trunk/sources/HeuristicLab.CEDMA.Core/AgentListView.cs
r377 r383 31 31 namespace HeuristicLab.CEDMA.Core { 32 32 public partial class AgentListView : ViewBase { 33 private ChooseItemDialog chooseItemDialog;34 35 33 public IAgentList AgentList { 36 34 get { return (IAgentList)Item; } -
trunk/sources/HeuristicLab.CEDMA.Core/Console.cs
r377 r383 53 53 } 54 54 55 public IView CreateView() {55 public override IView CreateView() { 56 56 return new ConsoleEditor(this); 57 57 } -
trunk/sources/HeuristicLab.CEDMA.Core/IAgent.cs
r377 r383 32 32 ProcessStatus Status { get; } 33 33 IOperatorGraph OperatorGraph { get; } 34 void Save();35 34 void Activate(); 36 35 } -
trunk/sources/HeuristicLab.DistributedEngine/DistributedEngine.cs
r299 r383 37 37 public class DistributedEngine : EngineBase, IEditable { 38 38 private JobManager jobManager; 39 private CompositeOperation waitingOperations;40 39 private string serverAddress; 41 40 public string ServerAddress { -
trunk/sources/HeuristicLab.Grid/ClientForm.cs
r252 r383 111 111 try { 112 112 gotEngine = engineStore.TryTakeEngine(out currentGuid, out engineXml); 113 } catch(TimeoutException timeoutException) {113 } catch(TimeoutException) { 114 114 currentEngine = null; 115 115 currentGuid = Guid.Empty; … … 117 117 fetchOperationTimer.Interval = 5000; 118 118 fetchOperationTimer.Start(); 119 } catch(CommunicationException communicationException) {119 } catch(CommunicationException) { 120 120 // connection problem -> reset connection and start the timer again 121 121 ResetConnection(); … … 155 155 engineStore.StoreResult(currentGuid, resultXml); 156 156 success = true; 157 } catch(TimeoutException timeoutException) {157 } catch(TimeoutException) { 158 158 success = false; 159 159 retries++; 160 160 Thread.Sleep(TimeSpan.FromSeconds(CONNECTION_RETRY_TIMEOUT_SEC)); 161 } catch(CommunicationException communicationException) {161 } catch(CommunicationException) { 162 162 ResetConnection(); 163 163 success = false; -
trunk/sources/HeuristicLab.Grid/JobManager.cs
r379 r383 189 189 } 190 190 return; 191 } catch(TimeoutException timeoutException) {192 retries++; 193 Thread.Sleep(TimeSpan.FromSeconds(RETRY_TIMEOUT_SEC)); 194 } catch(CommunicationException communicationException) {191 } catch(TimeoutException) { 192 retries++; 193 Thread.Sleep(TimeSpan.FromSeconds(RETRY_TIMEOUT_SEC)); 194 } catch(CommunicationException) { 195 195 ResetConnection(); 196 196 retries++; … … 208 208 return zippedResult; 209 209 } 210 } catch(TimeoutException timeoutException) {211 retries++; 212 Thread.Sleep(TimeSpan.FromSeconds(RETRY_TIMEOUT_SEC)); 213 } catch(CommunicationException communicationException) {210 } catch(TimeoutException) { 211 retries++; 212 Thread.Sleep(TimeSpan.FromSeconds(RETRY_TIMEOUT_SEC)); 213 } catch(CommunicationException) { 214 214 ResetConnection(); 215 215 retries++; … … 229 229 return jobState; 230 230 } 231 } catch(TimeoutException timeoutException) {232 retries++; 233 Thread.Sleep(TimeSpan.FromSeconds(RETRY_TIMEOUT_SEC)); 234 } catch(CommunicationException communicationException) {231 } catch(TimeoutException) { 232 retries++; 233 Thread.Sleep(TimeSpan.FromSeconds(RETRY_TIMEOUT_SEC)); 234 } catch(CommunicationException) { 235 235 ResetConnection(); 236 236 retries++; -
trunk/sources/HeuristicLab.Grid/ProcessingEngine.cs
r268 r383 63 63 try { 64 64 next = atomicOperation.Operator.Execute(atomicOperation.Scope); 65 } catch(Exception ex) {65 } catch(Exception) { 66 66 // push operation on stack again 67 67 myExecutionStack.Push(atomicOperation); -
trunk/sources/HeuristicLab.PluginInfrastructure.GUI/PluginAction.cs
r8 r383 65 65 // this method is not defined for actions other than "Install" and "Remove" 66 66 throw new InvalidOperationException(); 67 return "";68 67 } 69 68 }
Note: See TracChangeset
for help on using the changeset viewer.