Changeset 1133 for trunk/sources/HeuristicLab.Hive.Contracts
- Timestamp:
- 01/15/09 14:53:13 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.Hive.Contracts
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Contracts/ApplicationConstants.cs
r1121 r1133 68 68 public static string RESPONSE_COMMUNICATOR_NO_JOBS_LEFT = "Communicator.NoJobsLeft"; 69 69 public static string RESPONSE_COMMUNICATOR_ID_MUST_NOT_BE_SET = "Communicator.IdMustNotBeSet"; 70 public static string RESPONSE_COMMUNICATOR_NO_JO _WITH_THIS_ID = "Communicator.NoJobWithThisId";70 public static string RESPONSE_COMMUNICATOR_NO_JOB_WITH_THIS_ID = "Communicator.NoJobWithThisId"; 71 71 public static string RESPONSE_COMMUNICATOR_WRONG_JOB_STATE = "Communicator.WrongJobState"; 72 72 public static string RESPONSE_COMMUNICATOR_USER_NOT_LOGGED_IN = "Communicator.UserNotLoggedIn"; 73 public static string RESPONSE_COMMUNICATOR_JOB_IS_NOT_BEEING_CALCULATED = "Communicator.JobIsNotBeenigCalculated"; 74 public static string RESPONSE_COMMUNICATOR_WRONG_CLIENT_FOR_JOB = "Communicator.WrongClientForJob"; 73 75 74 76 public static string RESPONSE_JOB_ALL_JOBS = "Job.AllJobs"; -
trunk/sources/HeuristicLab.Hive.Contracts/BusinessObjects/JobResult.cs
r1103 r1133 35 35 public Job Job { get; set; } 36 36 [DataMember] 37 public byte[] Result { get; set; } // TODO DataStructure for Result needs to be defined 37 public byte[] Result { get; set; } 38 [DataMember] 39 public double Percentage { get; set; } 40 [DataMember] 41 public DateTime timestamp { get; set; } 38 42 [DataMember] 39 43 public ClientInfo Client { get; set; } -
trunk/sources/HeuristicLab.Hive.Contracts/HiveServerMessages.resx
r1096 r1133 229 229 <value>User is not logged in, you must login before sending Heartbeats</value> 230 230 </data> 231 <data name="Communicator.JobIsNotBeenigCalculated" xml:space="preserve"> 232 <value>There is no client registered to calculate this job</value> 233 </data> 234 <data name="Communicator.WrongClientForJob" xml:space="preserve"> 235 <value>This client is not registered to calculate this job</value> 236 </data> 231 237 </root> -
trunk/sources/HeuristicLab.Hive.Contracts/Interfaces/IClientCommunicator.cs
r1103 r1133 43 43 long jobId, 44 44 byte[] result, 45 double percentage, 45 46 Exception exception, 46 47 bool finished); -
trunk/sources/HeuristicLab.Hive.Contracts/Interfaces/ILifecycleManager.cs
r1088 r1133 38 38 /// The server heartbeat 39 39 /// </summary> 40 event EventHandler OnServerHeartbeat; 40 void RegisterHeartbeat(EventHandler handler); 41 42 /// <summary> 43 /// The startup event 44 /// </summary> 45 void RegisterStartup(EventHandler handler); 46 47 /// <summary> 48 /// The shutdown event 49 /// </summary> 50 void RegisterShutdown(EventHandler handler); 41 51 42 52 /// <summary>
Note: See TracChangeset
for help on using the changeset viewer.