Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/14/09 16:05:26 (16 years ago)
Author:
svonolfe
Message:

Added execution engine facade (#465)

Location:
trunk/sources/HeuristicLab.Hive.Server.Core
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Server.Core/ClientCommunicator.cs

    r1118 r1120  
    153153          job2Calculate.State = State.calculating;
    154154          response.Job = job2Calculate;
    155           jobAdapter.Update(job2Calculate);         
    156           response.SerializedJob = PersistenceManager.SaveToGZip(new TestJob());
     155          jobAdapter.Update(job2Calculate);
    157156          response.Success = true;
    158157          response.StatusMessage = ApplicationConstants.RESPONSE_COMMUNICATOR_JOB_PULLED;
  • trunk/sources/HeuristicLab.Hive.Server.Core/HeuristicLab.Hive.Server.Core.csproj

    r1099 r1120  
    7070    <Compile Include="ClientManager.cs" />
    7171    <Compile Include="DbTestApp.cs" />
     72    <Compile Include="ExecutionEngineFacade.cs" />
    7273    <Compile Include="HiveServerCorePlugin.cs" />
    7374    <Compile Include="HiveServerMessages.Designer.cs" />
  • trunk/sources/HeuristicLab.Hive.Server.Core/JobManager.cs

    r1024 r1120  
    6464          return response;
    6565        }
     66        if (job.SerializedJob == null) {
     67          response.StatusMessage = ApplicationConstants.RESPONSE_JOB_JOB_NULL;
     68          response.Success = false;
     69          return response;
     70        }
     71
    6672        jobAdapter.Update(job);
    6773        response.Success = true;
    6874        response.Obj = job;
    6975        response.StatusMessage = ApplicationConstants.RESPONSE_JOB_JOB_ADDED;
    70         return response;
     76      } else {
     77        response.Success = false;
     78        response.StatusMessage = ApplicationConstants.RESPONSE_JOB_JOB_NULL;
    7179      }
    72       response.Success = false;
    73       response.StatusMessage = ApplicationConstants.RESPONSE_JOB_JOB_NULL;
    7480
    7581      return response;
Note: See TracChangeset for help on using the changeset viewer.