Free cookie consent management tool by TermsFeed Policy Generator

Changeset 1219


Ignore:
Timestamp:
02/18/09 11:12:29 (15 years ago)
Author:
kgrading
Message:

implementation done (#493)

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  
    4343using HeuristicLab.Hive.Client.Communication.ServerService;
    4444using HeuristicLab.Hive.JobBase;
     45using HeuristicLab.Hive.Client.Core.JobStorrage;
    4546
    4647
     
    153154      byte[] sJob = engines[jId].GetFinishedJob();
    154155
    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      }
    161170    }
    162171
  • trunk/sources/HeuristicLab.Hive.Client.Core/HeuristicLab.Hive.Client.Core.csproj

    r1008 r1219  
    44    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    55    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    6     <ProductVersion>9.0.30729</ProductVersion>
     6    <ProductVersion>9.0.21022</ProductVersion>
    77    <SchemaVersion>2.0</SchemaVersion>
    88    <ProjectGuid>{5010BD86-23B7-4F8C-888A-76D21AD5266A}</ProjectGuid>
     
    8282    <Compile Include="CorePlugin.cs" />
    8383    <Compile Include="Heartbeat.cs" />
     84    <Compile Include="JobStorrage\JobStorrageInfo.cs" />
     85    <Compile Include="JobStorrage\JobStorrageManager.cs" />
    8486    <Compile Include="Properties\AssemblyInfo.cs" />
    8587    <Compile Include="Properties\Settings.Designer.cs">
Note: See TracChangeset for help on using the changeset viewer.