- Timestamp:
- 08/06/10 09:20:18 (14 years ago)
- Location:
- branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Contracts/3.3
- Files:
-
- 1 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Contracts/3.3/BusinessObjects/HivePluginInfoDto.cs
r4141 r4170 60 60 [StorableHook(HookType.AfterDeserialization)] 61 61 private void AfterDeserialization() { 62 int[] parts = this.storableVersion.Split('.').Select(s => int.Parse(s)).ToArray(); 63 this.Version = new Version(parts[0], parts[1], parts[2], parts[3]); 62 this.Version = new Version(storableVersion); 64 63 } 65 64 … … 71 70 return clone; 72 71 } 72 73 73 } 74 74 } -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Contracts/3.3/BusinessObjects/JobResult.cs
r4133 r4170 41 41 [Storable] 42 42 [DataMember] 43 public double Percentage { get; set; }44 [Storable]45 [DataMember]46 public DateTime Timestamp { get; set; }47 [Storable]48 [DataMember]49 43 public Guid ClientId { get; set; } 50 44 [Storable] 51 45 [DataMember] 52 public Exception Exception{ get; set; }46 public State State { get; set; } 53 47 [Storable] 54 48 [DataMember] 55 public DateTime DateFinished { get; set; } 49 public double? Percentage { get; set; } 50 [Storable] 51 [DataMember] 52 public String Exception { get; set; } 53 [Storable] 54 [DataMember] 55 public DateTime? DateCalculated { get; set; } 56 [Storable] 57 [DataMember] 58 public DateTime? DateFinished { get; set; } 56 59 57 60 public override Common.IDeepCloneable Clone(Common.Cloner cloner) { 58 61 JobResult clone = (JobResult) base.Clone(cloner); 59 62 clone.ClientId = this.ClientId; 63 clone.DateCalculated = this.DateCalculated; 60 64 clone.DateFinished = this.DateFinished; 61 throw new NotImplementedException("Exception kann nicht serialisiert werden, deshalb irgendwie wrappen... oder nur message (+stacktrace, ...?) speichern");62 65 clone.Exception = this.Exception; 63 66 clone.JobId = this.JobId; 64 67 clone.Percentage = this.Percentage; 65 clone. Timestamp = this.Timestamp;68 clone.State = this.State; 66 69 return clone; 67 70 } -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Contracts/3.3/HeuristicLab.Hive.Contracts-3.3.csproj
r4133 r4170 120 120 <Compile Include="BusinessObjects\ClientGroupDto.cs" /> 121 121 <Compile Include="BusinessObjects\HivePluginFile.cs" /> 122 <Compile Include="BusinessObjects\JobResultList.cs" /> 122 123 <Compile Include="BusinessObjects\ResourceDto.cs" /> 123 124 <Compile Include="BusinessObjects\SerializedJob.cs" /> -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Contracts/3.3/Interfaces/IClientCommunicator.cs
r3203 r4170 47 47 byte[] result, 48 48 double percentage, 49 Exceptionexception);49 string exception); 50 50 [OperationContract] 51 51 ResponseResultReceived ProcessSnapshot(Guid clientId, … … 53 53 byte[] result, 54 54 double percentage, 55 Exceptionexception);55 string exception); 56 56 [OperationContract] 57 57 Response Logout(Guid clientId); -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Contracts/3.3/Interfaces/IExecutionEngineFacade.cs
r4121 r4170 42 42 [OperationContract] 43 43 ResponseObject<JobDto> GetJobById(Guid jobId); 44 [OperationContract] 45 ResponseObject<JobResultList> GetAllJobResults(IEnumerable<Guid> jobIds); 44 46 } 45 47 } -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Contracts/3.3/Interfaces/IJobManager.cs
r4121 r4170 50 50 ResponseObject<SerializedJob> GetLastSerializedJobResultOf(Guid jobId, bool requested, bool snapshot); 51 51 [OperationContract] 52 Response List<JobResult> GetAllJobResults(Guid jobId);52 ResponseObject<JobResultList> GetAllJobResults(IEnumerable<Guid> jobIds); 53 53 [OperationContract] 54 54 Response RequestSnapshot(Guid jobId);
Note: See TracChangeset
for help on using the changeset viewer.