Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3.3-Hive/sources/HeuristicLab.Hive/HeuristicLab.Hive.Contracts/3.3/ResponseStatus.cs @ 4423

Last change on this file since 4423 was 4423, checked in by cneumuel, 14 years ago
  • Refactored HL.Hive.Experiment. JobItems are not called HiveJobs and OptimizerJobs do not contain a hierarchy anymore.
  • Dynamic generation of jobs on a slave are not reflected on the client user interface.
  • Optimizer-Trees are now strictly synchronized with the HiveJob-Trees (also the ComputeInParallel property is taken into account when the Child HiveJobs are created)
  • Improved the way a class can report progress and lock the UI (IProgressReporter, IProgress, Progress, ProgressView)
  • Changes were made to the config-files, so that server and clients work with blade12.hpc.fh-hagenberg.at
  • Lots of small changes and bugfixes
File size: 4.3 KB
Line 
1#region License Information
2/* HeuristicLab
3 * Copyright (C) 2002-2010 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
4 *
5 * This file is part of HeuristicLab.
6 *
7 * HeuristicLab is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * HeuristicLab is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
19 */
20#endregion
21using System;
22using System.Collections.Generic;
23using System.Linq;
24using System.Text;
25
26namespace HeuristicLab.Hive.Contracts {
27  public enum ResponseStatus {
28    Ok,
29
30    RequestSnapshot_JobIsNotBeeingCalculated, // ApplicationConstants.RESPONSE_JOB_REQUEST_ALLREADY_SET
31    RequestSnapshot_SnapshotAlreadyRequested, // ApplicationConstants.RESPONSE_JOB_IS_NOT_BEEING_CALCULATED
32
33    GetJobById_JobDoesNotExist, // ApplicationConstants.RESPONSE_JOB_JOB_DOESNT_EXIST
34
35    GetJobByIdWithDetails_JobDoesNotExist, // ApplicationConstants.RESPONSE_JOB_JOB_DOESNT_EXIST
36
37    AddNewJob_InvalidJobState, // ApplicationConstants.RESPONSE_JOB_JOBSTATE_MUST_BE_OFFLINE
38    AddNewJob_JobIdMustNotBeSet, // ApplicationConstants.RESPONSE_JOB_ID_MUST_NOT_BE_SET
39    AddNewJob_JobNull, // ApplicationConstants.RESPONSE_JOB_JOB_NULL
40
41    RemoveJob_JobDoesNotExist, // ApplicationConstants.RESPONSE_JOB_JOB_DOESNT_EXIST
42
43    GetSnapshotResult_JobResultNotYetThere, // ApplicationConstants.RESPONSE_JOB_RESULT_NOT_YET_HERE
44
45    AbortJob_JobDoesNotExist, // ApplicationConstants.RESPONSE_JOB_JOB_DOESNT_EXIST
46    AbortJob_AbortAlreadyRequested, // ApplicationConstants.RESPONSE_JOB_ABORT_REQUEST_ALLREADY_SET
47    AbortJob_JobIsNotBeeingCalculated, // ApplicationConstants.RESPONSE_JOB_IS_NOT_BEEING_CALCULATED
48
49    GetCalendar_ResourceDoesNotExist, // ApplicationConstants.RESPONSE_CLIENT_RESOURCE_NOT_FOUND
50    GetCalendar_NoCalendarFound, // ApplicationConstants.RESPONSE_UPTIMECALENDAR_NO_CALENDAR_FOUND
51
52    SetCalendarStatus_ResourceDoesNotExist, // ApplicationConstants.RESPONSE_CLIENT_RESOURCE_NOT_FOUND
53
54    ProcessHeartBeat_UserNotLoggedIn, // ApplicationConstants.RESPONSE_COMMUNICATOR_USER_NOT_LOGGED_IN
55
56    GetJob_NoJobsAvailable, // ApplicationConstants.RESPONSE_COMMUNICATOR_NO_JOBS_LEFT
57
58    ProcessJobResult_JobDoesNotExist, // ApplicationConstants.RESPONSE_COMMUNICATOR_NO_JOB_WITH_THIS_ID
59    ProcessJobResult_JobAborted, // ApplicationConstants.RESPONSE_COMMUNICATOR_JOB_WAS_ABORTED
60    ProcessJobResult_JobIsNotBeeingCalculated, // ApplicationConstants.RESPONSE_COMMUNICATOR_JOB_IS_NOT_BEEING_CALCULATED
61    ProcessJobResult_WrongSlaveForJob, // ApplicationConstants.RESPONSE_COMMUNICATOR_WRONG_CLIENT_FOR_JOB
62    ProcessJobResult_InvalidJobState, // ApplicationConstants.RESPONSE_COMMUNICATOR_WRONG_JOB_STATE
63
64    Login_LoginFaild, // ApplicationConstants.RESPONSE_SERVERCONSOLE_LOGIN_FAILED
65
66    Logout_SlaveNotRegistered, // ApplicationConstants.RESPONSE_COMMUNICATOR_LOGOUT_CLIENT_NOT_REGISTERED
67
68    IsJobStillNeeded_JobDoesNotExist, // ApplicationConstants.RESPONSE_COMMUNICATOR_JOB_DOESNT_EXIST
69    IsJobStillNeeded_JobAlreadyFinished, // ApplicationConstants.RESPONSE_COMMUNICATOR_JOB_ALLREADY_FINISHED
70
71    GetPlugins_PluginsNotAvailable, // ApplicationConstants.RESPONSE_COMMUNICATOR_PLUGINS_NOT_AVAIL
72
73    AddSlaveGroup_SlaveIdMustNotBeSet, // ApplicationConstants.RESPONSE_CLIENT_ID_MUST_NOT_BE_SET
74
75    AddResourceToGroup_SlaveGroupDoesNotExist, // ApplicationConstants.RESPONSE_CLIENT_CLIENTGROUP_DOESNT_EXIST
76
77    DeleteResourceFromGroup_SlaveGroupDoesNotExist, // ApplicationConstants.RESPONSE_CLIENT_CLIENTGROUP_DOESNT_EXIST
78
79    GetAllGroupsOfResource_ResourceDoesNotExist, // ApplicationConstants.RESPONSE_CLIENT_RESOURCE_NOT_FOUND
80
81    DeleteSlaveGroup_SlaveGroupDoesNotExist, // ApplicationConstants.RESPONSE_CLIENT_CLIENTGROUP_DOESNT_EXIST
82
83    GetLastSerializedResult_JobDoesNotExist,
84    DeleteHiveExperiment_Failed,
85    DeleteChildJobs_Failed,
86  }
87}
Note: See TracBrowser for help on using the repository browser.