Changeset 1219
- Timestamp:
- 02/18/09 11:12:29 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Hive.Client.Core
- Files:
-
- 3 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Client.Core/Core.cs
r1199 r1219 43 43 using HeuristicLab.Hive.Client.Communication.ServerService; 44 44 using HeuristicLab.Hive.JobBase; 45 using HeuristicLab.Hive.Client.Core.JobStorrage; 45 46 46 47 … … 153 154 byte[] sJob = engines[jId].GetFinishedJob(); 154 155 155 wcfService.SendJobResultAsync(ConfigManager.Instance.GetClientInfo().ClientId, 156 jId, 157 sJob, 158 1, 159 null, 160 true); 156 if (WcfService.Instance.ConnState == NetworkEnum.WcfConnState.Connected) { 157 wcfService.SendJobResultAsync(ConfigManager.Instance.GetClientInfo().ClientId, 158 jId, 159 sJob, 160 1, 161 null, 162 true); 163 } else { 164 JobStorrageManager.PersistObjectToDisc(wcfService.ServerIP, wcfService.ServerPort, jId, sJob); 165 AppDomain.Unload(appDomains[jId]); 166 appDomains.Remove(jId); 167 engines.Remove(jId); 168 jobs.Remove(jId); 169 } 161 170 } 162 171 -
trunk/sources/HeuristicLab.Hive.Client.Core/HeuristicLab.Hive.Client.Core.csproj
r1008 r1219 4 4 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> 5 5 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> 6 <ProductVersion>9.0. 30729</ProductVersion>6 <ProductVersion>9.0.21022</ProductVersion> 7 7 <SchemaVersion>2.0</SchemaVersion> 8 8 <ProjectGuid>{5010BD86-23B7-4F8C-888A-76D21AD5266A}</ProjectGuid> … … 82 82 <Compile Include="CorePlugin.cs" /> 83 83 <Compile Include="Heartbeat.cs" /> 84 <Compile Include="JobStorrage\JobStorrageInfo.cs" /> 85 <Compile Include="JobStorrage\JobStorrageManager.cs" /> 84 86 <Compile Include="Properties\AssemblyInfo.cs" /> 85 87 <Compile Include="Properties\Settings.Designer.cs">
Note: See TracChangeset
for help on using the changeset viewer.