Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/06/10 15:31:15 (14 years ago)
Author:
cneumuel
Message:
  • reorganized HiveExperiment code
  • disabled snapshot-functionality... this needs more refactoring serverside
  • added short documentation which explains how to use hive
  • some minor changes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Core/3.3/ClientCommunicator.cs

    r4170 r4173  
    349349          response.Success = false;
    350350          response.StatusMessage = ApplicationConstants.RESPONSE_COMMUNICATOR_JOB_IS_NOT_BEEING_CALCULATED;
    351           Logger.Error("There is no job calculated by this user " + hbData.ClientId);
     351
     352          foreach (Guid jobId in hbData.JobProgress.Keys) {
     353            response.ActionRequest.Add(new MessageContainer(MessageContainer.MessageType.AbortJob, jobId));
     354          }
     355
     356          Logger.Error("There is no job calculated by this user " + hbData.ClientId + ", advise him to abort all");
    352357          return;
    353358        }
     
    359364            response.Success = false;
    360365            response.StatusMessage = ApplicationConstants.RESPONSE_COMMUNICATOR_JOB_IS_NOT_BEEING_CALCULATED;
     366            response.ActionRequest.Add(new MessageContainer(MessageContainer.MessageType.AbortJob, curJob.Id));
    361367            Logger.Error("There is no job calculated by this user " + hbData.ClientId + " Job: " + curJob);
    362368          } else if (curJob.State == State.Abort) {
     
    524530        response.StatusMessage = ApplicationConstants.RESPONSE_COMMUNICATOR_NO_JOB_WITH_THIS_ID;
    525531        response.JobId = jobId;
    526 
    527532        Logger.Error("No job with Id " + jobId);
    528533
Note: See TracChangeset for help on using the changeset viewer.