- Timestamp:
- 03/21/11 15:05:48 (13 years ago)
- Location:
- branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4
- Files:
-
- 1 added
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/ExperimentManager/HiveJobClient.cs
r5718 r5779 45 45 else if (job.State == JobState.Calculating) return HeuristicLab.Common.Resources.VSImageLibrary.ExecutableStarted; 46 46 else if (job.State == JobState.Transferring) return HeuristicLab.Common.Resources.VSImageLibrary.ExecutableStarted; 47 else if (job.State == JobState.Paused) return HeuristicLab.Common.Resources.VSImageLibrary.ExecutablePaused; 47 48 else if (job.State == JobState.Aborted) return HeuristicLab.Common.Resources.VSImageLibrary.ExecutableStopped; 48 49 else if (job.State == JobState.Failed) return HeuristicLab.Common.Resources.VSImageLibrary.Error; … … 604 605 } 605 606 #endregion 607 608 public void Pause() { 609 ServiceLocator.Instance.CallHiveService(s => s.PauseJob(this.job.Id)); 610 } 611 612 public void Stop() { 613 ServiceLocator.Instance.CallHiveService(s => s.StopJob(this.job.Id)); 614 } 615 616 public void Restart() { 617 ServiceLocator.Instance.CallHiveService(s => s.RestartJob(this.job.Id)); 618 } 606 619 } 607 620 } -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/HeuristicLab.Clients.Hive-3.4.csproj
r5718 r5779 139 139 <Compile Include="Exceptions\ServiceClientFactoryException.cs" /> 140 140 <Compile Include="ServiceClients\Appointment.cs" /> 141 <Compile Include="ServiceClients\NamedHiveItem.cs" /> 141 142 <Compile Include="ServiceClients\Heartbeat.cs" /> 142 143 <Compile Include="ServiceClients\HiveExperimentPermission.cs" /> -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/ServiceClients/Appointment.cs
r5633 r5779 27 27 public Appointment() { } 28 28 29 protected Appointment(Appointment original, Cloner cloner) { 29 protected Appointment(Appointment original, Cloner cloner) 30 : base(original, cloner) { 30 31 this.AllDayEvent = original.AllDayEvent; 31 32 this.EndDate = original.EndDate; … … 34 35 this.ResourceId = original.ResourceId; 35 36 this.StartDate = original.StartDate; 36 this.Id = original.Id;37 37 } 38 38 -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/ServiceClients/HiveExperiment.cs
r5614 r5779 29 29 30 30 protected HiveExperiment(HiveExperiment original, Cloner cloner) { 31 cloner.RegisterClonedObject(original, this); 31 32 this.RootJobId = original.RootJobId; 32 33 this.OwnerUserId = original.OwnerUserId; -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/ServiceClients/HiveExperimentPermission.cs
r5614 r5779 29 29 30 30 protected HiveExperimentPermission(HiveExperimentPermission original, Cloner cloner) { 31 /*this.HiveExperimentId = original.HiveExperimentId; 32 this.GrantedUserId = original.GrantedUserId; 33 this.GrantedByUserId = original.GrantedByUserId; 34 this.Permission = original.Permission; 35 this.Id = original.Id;*/ 31 cloner.RegisterClonedObject(original, this); 36 32 } 37 33 -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/ServiceClients/HiveServiceClient.cs
r5676 r5779 2 2 // <auto-generated> 3 3 // This code was generated by a tool. 4 // Runtime Version:4.0.30319. 14 // Runtime Version:4.0.30319.208 5 5 // 6 6 // Changes to this file may cause incorrect behavior and will be lost if … … 13 13 14 14 [System.Diagnostics.DebuggerStepThroughAttribute()] 15 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]16 [System.Runtime.Serialization.DataContractAttribute(Name = "HiveItem", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" +17 "nsfer")]18 [System.SerializableAttribute()]19 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Appointment))]20 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.LightweightJob))]21 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.StateLog))]22 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Job))]23 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.PluginData))]24 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.NamedHiveItem))]25 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.HiveExperiment))]26 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Plugin))]27 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Resource))]28 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.SlaveGroup))]29 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Slave))]30 public partial class HiveItem : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {31 32 [System.NonSerializedAttribute()]33 private System.Runtime.Serialization.ExtensionDataObject extensionDataField;34 35 [System.Runtime.Serialization.OptionalFieldAttribute()]36 private System.Guid IdField;37 38 public System.Runtime.Serialization.ExtensionDataObject ExtensionData {39 get {40 return this.extensionDataField;41 }42 set {43 this.extensionDataField = value;44 }45 }46 47 [System.Runtime.Serialization.DataMemberAttribute()]48 public System.Guid Id {49 get {50 return this.IdField;51 }52 set {53 if ((this.IdField.Equals(value) != true)) {54 this.IdField = value;55 this.RaisePropertyChanged("Id");56 }57 }58 }59 60 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;61 62 63 }64 65 [System.Diagnostics.DebuggerStepThroughAttribute()]66 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]67 [System.Runtime.Serialization.DataContractAttribute(Name = "Appointment", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" +68 "nsfer")]69 [System.SerializableAttribute()]70 public partial class Appointment : HeuristicLab.Clients.Hive.HiveItem {71 72 [System.Runtime.Serialization.OptionalFieldAttribute()]73 private bool AllDayEventField;74 75 [System.Runtime.Serialization.OptionalFieldAttribute()]76 private System.DateTime EndDateField;77 78 [System.Runtime.Serialization.OptionalFieldAttribute()]79 private bool RecurringField;80 81 [System.Runtime.Serialization.OptionalFieldAttribute()]82 private System.Guid RecurringIdField;83 84 [System.Runtime.Serialization.OptionalFieldAttribute()]85 private System.Guid ResourceIdField;86 87 [System.Runtime.Serialization.OptionalFieldAttribute()]88 private System.DateTime StartDateField;89 90 [System.Runtime.Serialization.DataMemberAttribute()]91 public bool AllDayEvent {92 get {93 return this.AllDayEventField;94 }95 set {96 if ((this.AllDayEventField.Equals(value) != true)) {97 this.AllDayEventField = value;98 this.RaisePropertyChanged("AllDayEvent");99 }100 }101 }102 103 [System.Runtime.Serialization.DataMemberAttribute()]104 public System.DateTime EndDate {105 get {106 return this.EndDateField;107 }108 set {109 if ((this.EndDateField.Equals(value) != true)) {110 this.EndDateField = value;111 this.RaisePropertyChanged("EndDate");112 }113 }114 }115 116 [System.Runtime.Serialization.DataMemberAttribute()]117 public bool Recurring {118 get {119 return this.RecurringField;120 }121 set {122 if ((this.RecurringField.Equals(value) != true)) {123 this.RecurringField = value;124 this.RaisePropertyChanged("Recurring");125 }126 }127 }128 129 [System.Runtime.Serialization.DataMemberAttribute()]130 public System.Guid RecurringId {131 get {132 return this.RecurringIdField;133 }134 set {135 if ((this.RecurringIdField.Equals(value) != true)) {136 this.RecurringIdField = value;137 this.RaisePropertyChanged("RecurringId");138 }139 }140 }141 142 [System.Runtime.Serialization.DataMemberAttribute()]143 public System.Guid ResourceId {144 get {145 return this.ResourceIdField;146 }147 set {148 if ((this.ResourceIdField.Equals(value) != true)) {149 this.ResourceIdField = value;150 this.RaisePropertyChanged("ResourceId");151 }152 }153 }154 155 [System.Runtime.Serialization.DataMemberAttribute()]156 public System.DateTime StartDate {157 get {158 return this.StartDateField;159 }160 set {161 if ((this.StartDateField.Equals(value) != true)) {162 this.StartDateField = value;163 this.RaisePropertyChanged("StartDate");164 }165 }166 }167 }168 169 [System.Diagnostics.DebuggerStepThroughAttribute()]170 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]171 [System.Runtime.Serialization.DataContractAttribute(Name = "LightweightJob", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" +172 "nsfer")]173 [System.SerializableAttribute()]174 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Job))]175 public partial class LightweightJob : HeuristicLab.Clients.Hive.HiveItem {176 177 [System.Runtime.Serialization.OptionalFieldAttribute()]178 private System.Nullable<System.TimeSpan> ExecutionTimeField;179 180 [System.Runtime.Serialization.OptionalFieldAttribute()]181 private System.Nullable<System.Guid> ParentJobIdField;182 183 [System.Runtime.Serialization.OptionalFieldAttribute()]184 private HeuristicLab.Clients.Hive.JobState StateField;185 186 [System.Runtime.Serialization.OptionalFieldAttribute()]187 private System.Collections.Generic.List<HeuristicLab.Clients.Hive.StateLog> StateLogField;188 189 [System.Runtime.Serialization.DataMemberAttribute()]190 public System.Nullable<System.TimeSpan> ExecutionTime {191 get {192 return this.ExecutionTimeField;193 }194 set {195 if ((this.ExecutionTimeField.Equals(value) != true)) {196 this.ExecutionTimeField = value;197 this.RaisePropertyChanged("ExecutionTime");198 }199 }200 }201 202 [System.Runtime.Serialization.DataMemberAttribute()]203 public System.Nullable<System.Guid> ParentJobId {204 get {205 return this.ParentJobIdField;206 }207 set {208 if ((this.ParentJobIdField.Equals(value) != true)) {209 this.ParentJobIdField = value;210 this.RaisePropertyChanged("ParentJobId");211 }212 }213 }214 215 [System.Runtime.Serialization.DataMemberAttribute()]216 public HeuristicLab.Clients.Hive.JobState State {217 get {218 return this.StateField;219 }220 set {221 if ((this.StateField.Equals(value) != true)) {222 this.StateField = value;223 this.RaisePropertyChanged("State");224 }225 }226 }227 228 [System.Runtime.Serialization.DataMemberAttribute()]229 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.StateLog> StateLog {230 get {231 return this.StateLogField;232 }233 set {234 if ((object.ReferenceEquals(this.StateLogField, value) != true)) {235 this.StateLogField = value;236 this.RaisePropertyChanged("StateLog");237 }238 }239 }240 }241 242 [System.Diagnostics.DebuggerStepThroughAttribute()]243 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]244 [System.Runtime.Serialization.DataContractAttribute(Name = "StateLog", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" +245 "nsfer")]246 [System.SerializableAttribute()]247 public partial class StateLog : HeuristicLab.Clients.Hive.HiveItem {248 249 [System.Runtime.Serialization.OptionalFieldAttribute()]250 private System.DateTime DateTimeField;251 252 [System.Runtime.Serialization.OptionalFieldAttribute()]253 private string ExceptionField;254 255 [System.Runtime.Serialization.OptionalFieldAttribute()]256 private System.Guid JobIdField;257 258 [System.Runtime.Serialization.OptionalFieldAttribute()]259 private System.Nullable<System.Guid> SlaveIdField;260 261 [System.Runtime.Serialization.OptionalFieldAttribute()]262 private HeuristicLab.Clients.Hive.JobState StateField;263 264 [System.Runtime.Serialization.OptionalFieldAttribute()]265 private System.Nullable<System.Guid> UserIdField;266 267 [System.Runtime.Serialization.DataMemberAttribute()]268 public System.DateTime DateTime {269 get {270 return this.DateTimeField;271 }272 set {273 if ((this.DateTimeField.Equals(value) != true)) {274 this.DateTimeField = value;275 this.RaisePropertyChanged("DateTime");276 }277 }278 }279 280 [System.Runtime.Serialization.DataMemberAttribute()]281 public string Exception {282 get {283 return this.ExceptionField;284 }285 set {286 if ((object.ReferenceEquals(this.ExceptionField, value) != true)) {287 this.ExceptionField = value;288 this.RaisePropertyChanged("Exception");289 }290 }291 }292 293 [System.Runtime.Serialization.DataMemberAttribute()]294 public System.Guid JobId {295 get {296 return this.JobIdField;297 }298 set {299 if ((this.JobIdField.Equals(value) != true)) {300 this.JobIdField = value;301 this.RaisePropertyChanged("JobId");302 }303 }304 }305 306 [System.Runtime.Serialization.DataMemberAttribute()]307 public System.Nullable<System.Guid> SlaveId {308 get {309 return this.SlaveIdField;310 }311 set {312 if ((this.SlaveIdField.Equals(value) != true)) {313 this.SlaveIdField = value;314 this.RaisePropertyChanged("SlaveId");315 }316 }317 }318 319 [System.Runtime.Serialization.DataMemberAttribute()]320 public HeuristicLab.Clients.Hive.JobState State {321 get {322 return this.StateField;323 }324 set {325 if ((this.StateField.Equals(value) != true)) {326 this.StateField = value;327 this.RaisePropertyChanged("State");328 }329 }330 }331 332 [System.Runtime.Serialization.DataMemberAttribute()]333 public System.Nullable<System.Guid> UserId {334 get {335 return this.UserIdField;336 }337 set {338 if ((this.UserIdField.Equals(value) != true)) {339 this.UserIdField = value;340 this.RaisePropertyChanged("UserId");341 }342 }343 }344 }345 346 [System.Diagnostics.DebuggerStepThroughAttribute()]347 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]348 [System.Runtime.Serialization.DataContractAttribute(Name = "Job", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" +349 "nsfer")]350 [System.SerializableAttribute()]351 public partial class Job : HeuristicLab.Clients.Hive.LightweightJob {352 353 [System.Runtime.Serialization.OptionalFieldAttribute()]354 private int CoresNeededField;355 356 [System.Runtime.Serialization.OptionalFieldAttribute()]357 private bool FinishWhenChildJobsFinishedField;358 359 [System.Runtime.Serialization.OptionalFieldAttribute()]360 private bool IsParentJobField;361 362 [System.Runtime.Serialization.OptionalFieldAttribute()]363 private System.Nullable<System.DateTime> LastHeartbeatField;364 365 [System.Runtime.Serialization.OptionalFieldAttribute()]366 private int MemoryNeededField;367 368 [System.Runtime.Serialization.OptionalFieldAttribute()]369 private System.Collections.Generic.List<System.Guid> PluginsNeededIdsField;370 371 [System.Runtime.Serialization.OptionalFieldAttribute()]372 private int PriorityField;373 374 [System.Runtime.Serialization.DataMemberAttribute()]375 public int CoresNeeded {376 get {377 return this.CoresNeededField;378 }379 set {380 if ((this.CoresNeededField.Equals(value) != true)) {381 this.CoresNeededField = value;382 this.RaisePropertyChanged("CoresNeeded");383 }384 }385 }386 387 [System.Runtime.Serialization.DataMemberAttribute()]388 public bool FinishWhenChildJobsFinished {389 get {390 return this.FinishWhenChildJobsFinishedField;391 }392 set {393 if ((this.FinishWhenChildJobsFinishedField.Equals(value) != true)) {394 this.FinishWhenChildJobsFinishedField = value;395 this.RaisePropertyChanged("FinishWhenChildJobsFinished");396 }397 }398 }399 400 [System.Runtime.Serialization.DataMemberAttribute()]401 public bool IsParentJob {402 get {403 return this.IsParentJobField;404 }405 set {406 if ((this.IsParentJobField.Equals(value) != true)) {407 this.IsParentJobField = value;408 this.RaisePropertyChanged("IsParentJob");409 }410 }411 }412 413 [System.Runtime.Serialization.DataMemberAttribute()]414 public System.Nullable<System.DateTime> LastHeartbeat {415 get {416 return this.LastHeartbeatField;417 }418 set {419 if ((this.LastHeartbeatField.Equals(value) != true)) {420 this.LastHeartbeatField = value;421 this.RaisePropertyChanged("LastHeartbeat");422 }423 }424 }425 426 [System.Runtime.Serialization.DataMemberAttribute()]427 public int MemoryNeeded {428 get {429 return this.MemoryNeededField;430 }431 set {432 if ((this.MemoryNeededField.Equals(value) != true)) {433 this.MemoryNeededField = value;434 this.RaisePropertyChanged("MemoryNeeded");435 }436 }437 }438 439 [System.Runtime.Serialization.DataMemberAttribute()]440 public System.Collections.Generic.List<System.Guid> PluginsNeededIds {441 get {442 return this.PluginsNeededIdsField;443 }444 set {445 if ((object.ReferenceEquals(this.PluginsNeededIdsField, value) != true)) {446 this.PluginsNeededIdsField = value;447 this.RaisePropertyChanged("PluginsNeededIds");448 }449 }450 }451 452 [System.Runtime.Serialization.DataMemberAttribute()]453 public int Priority {454 get {455 return this.PriorityField;456 }457 set {458 if ((this.PriorityField.Equals(value) != true)) {459 this.PriorityField = value;460 this.RaisePropertyChanged("Priority");461 }462 }463 }464 }465 466 [System.Diagnostics.DebuggerStepThroughAttribute()]467 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]468 [System.Runtime.Serialization.DataContractAttribute(Name = "PluginData", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" +469 "nsfer")]470 [System.SerializableAttribute()]471 public partial class PluginData : HeuristicLab.Clients.Hive.HiveItem {472 473 [System.Runtime.Serialization.OptionalFieldAttribute()]474 private byte[] DataField;475 476 [System.Runtime.Serialization.OptionalFieldAttribute()]477 private string FileNameField;478 479 [System.Runtime.Serialization.OptionalFieldAttribute()]480 private System.Guid PluginIdField;481 482 [System.Runtime.Serialization.DataMemberAttribute()]483 public byte[] Data {484 get {485 return this.DataField;486 }487 set {488 if ((object.ReferenceEquals(this.DataField, value) != true)) {489 this.DataField = value;490 this.RaisePropertyChanged("Data");491 }492 }493 }494 495 [System.Runtime.Serialization.DataMemberAttribute()]496 public string FileName {497 get {498 return this.FileNameField;499 }500 set {501 if ((object.ReferenceEquals(this.FileNameField, value) != true)) {502 this.FileNameField = value;503 this.RaisePropertyChanged("FileName");504 }505 }506 }507 508 [System.Runtime.Serialization.DataMemberAttribute()]509 public System.Guid PluginId {510 get {511 return this.PluginIdField;512 }513 set {514 if ((this.PluginIdField.Equals(value) != true)) {515 this.PluginIdField = value;516 this.RaisePropertyChanged("PluginId");517 }518 }519 }520 }521 522 [System.Diagnostics.DebuggerStepThroughAttribute()]523 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]524 [System.Runtime.Serialization.DataContractAttribute(Name = "NamedHiveItem", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" +525 "nsfer")]526 [System.SerializableAttribute()]527 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.HiveExperiment))]528 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Plugin))]529 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Resource))]530 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.SlaveGroup))]531 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Slave))]532 public partial class NamedHiveItem : HeuristicLab.Clients.Hive.HiveItem {533 534 [System.Runtime.Serialization.OptionalFieldAttribute()]535 private string DescriptionField;536 537 [System.Runtime.Serialization.OptionalFieldAttribute()]538 private string NameField;539 540 [System.Runtime.Serialization.DataMemberAttribute()]541 public string Description {542 get {543 return this.DescriptionField;544 }545 set {546 if ((object.ReferenceEquals(this.DescriptionField, value) != true)) {547 this.DescriptionField = value;548 this.RaisePropertyChanged("Description");549 }550 }551 }552 553 [System.Runtime.Serialization.DataMemberAttribute()]554 public string Name {555 get {556 return this.NameField;557 }558 set {559 if ((object.ReferenceEquals(this.NameField, value) != true)) {560 this.NameField = value;561 this.RaisePropertyChanged("Name");562 }563 }564 }565 }566 567 [System.Diagnostics.DebuggerStepThroughAttribute()]568 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]569 [System.Runtime.Serialization.DataContractAttribute(Name = "HiveExperiment", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" +570 "nsfer")]571 [System.SerializableAttribute()]572 public partial class HiveExperiment : HeuristicLab.Clients.Hive.NamedHiveItem {573 574 [System.Runtime.Serialization.OptionalFieldAttribute()]575 private System.DateTime DateCreatedField;576 577 [System.Runtime.Serialization.OptionalFieldAttribute()]578 private System.Nullable<System.DateTime> LastAccessedField;579 580 [System.Runtime.Serialization.OptionalFieldAttribute()]581 private System.Guid OwnerUserIdField;582 583 [System.Runtime.Serialization.OptionalFieldAttribute()]584 private string ResourceNamesField;585 586 [System.Runtime.Serialization.OptionalFieldAttribute()]587 private System.Guid RootJobIdField;588 589 [System.Runtime.Serialization.DataMemberAttribute()]590 public System.DateTime DateCreated {591 get {592 return this.DateCreatedField;593 }594 set {595 if ((this.DateCreatedField.Equals(value) != true)) {596 this.DateCreatedField = value;597 this.RaisePropertyChanged("DateCreated");598 }599 }600 }601 602 [System.Runtime.Serialization.DataMemberAttribute()]603 public System.Nullable<System.DateTime> LastAccessed {604 get {605 return this.LastAccessedField;606 }607 set {608 if ((this.LastAccessedField.Equals(value) != true)) {609 this.LastAccessedField = value;610 this.RaisePropertyChanged("LastAccessed");611 }612 }613 }614 615 [System.Runtime.Serialization.DataMemberAttribute()]616 public System.Guid OwnerUserId {617 get {618 return this.OwnerUserIdField;619 }620 set {621 if ((this.OwnerUserIdField.Equals(value) != true)) {622 this.OwnerUserIdField = value;623 this.RaisePropertyChanged("OwnerUserId");624 }625 }626 }627 628 [System.Runtime.Serialization.DataMemberAttribute()]629 public string ResourceNames {630 get {631 return this.ResourceNamesField;632 }633 set {634 if ((object.ReferenceEquals(this.ResourceNamesField, value) != true)) {635 this.ResourceNamesField = value;636 this.RaisePropertyChanged("ResourceNames");637 }638 }639 }640 641 [System.Runtime.Serialization.DataMemberAttribute()]642 public System.Guid RootJobId {643 get {644 return this.RootJobIdField;645 }646 set {647 if ((this.RootJobIdField.Equals(value) != true)) {648 this.RootJobIdField = value;649 this.RaisePropertyChanged("RootJobId");650 }651 }652 }653 }654 655 [System.Diagnostics.DebuggerStepThroughAttribute()]656 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]657 [System.Runtime.Serialization.DataContractAttribute(Name = "Plugin", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" +658 "nsfer")]659 [System.SerializableAttribute()]660 public partial class Plugin : HeuristicLab.Clients.Hive.NamedHiveItem {661 662 [System.Runtime.Serialization.OptionalFieldAttribute()]663 private System.DateTime DateCreatedField;664 665 [System.Runtime.Serialization.OptionalFieldAttribute()]666 private bool IsLocalField;667 668 [System.Runtime.Serialization.OptionalFieldAttribute()]669 private System.Guid UserIdField;670 671 [System.Runtime.Serialization.OptionalFieldAttribute()]672 private System.Version VersionField;673 674 [System.Runtime.Serialization.DataMemberAttribute()]675 public System.DateTime DateCreated {676 get {677 return this.DateCreatedField;678 }679 set {680 if ((this.DateCreatedField.Equals(value) != true)) {681 this.DateCreatedField = value;682 this.RaisePropertyChanged("DateCreated");683 }684 }685 }686 687 [System.Runtime.Serialization.DataMemberAttribute()]688 public bool IsLocal {689 get {690 return this.IsLocalField;691 }692 set {693 if ((this.IsLocalField.Equals(value) != true)) {694 this.IsLocalField = value;695 this.RaisePropertyChanged("IsLocal");696 }697 }698 }699 700 [System.Runtime.Serialization.DataMemberAttribute()]701 public System.Guid UserId {702 get {703 return this.UserIdField;704 }705 set {706 if ((this.UserIdField.Equals(value) != true)) {707 this.UserIdField = value;708 this.RaisePropertyChanged("UserId");709 }710 }711 }712 713 [System.Runtime.Serialization.DataMemberAttribute()]714 public System.Version Version {715 get {716 return this.VersionField;717 }718 set {719 if ((object.ReferenceEquals(this.VersionField, value) != true)) {720 this.VersionField = value;721 this.RaisePropertyChanged("Version");722 }723 }724 }725 }726 727 [System.Diagnostics.DebuggerStepThroughAttribute()]728 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]729 [System.Runtime.Serialization.DataContractAttribute(Name = "Resource", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" +730 "nsfer")]731 [System.SerializableAttribute()]732 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.SlaveGroup))]733 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Slave))]734 public partial class Resource : HeuristicLab.Clients.Hive.NamedHiveItem {735 736 [System.Runtime.Serialization.OptionalFieldAttribute()]737 private System.Nullable<System.Guid> ParentResourceIdField;738 739 [System.Runtime.Serialization.DataMemberAttribute()]740 public System.Nullable<System.Guid> ParentResourceId {741 get {742 return this.ParentResourceIdField;743 }744 set {745 if ((this.ParentResourceIdField.Equals(value) != true)) {746 this.ParentResourceIdField = value;747 this.RaisePropertyChanged("ParentResourceId");748 }749 }750 }751 }752 753 [System.Diagnostics.DebuggerStepThroughAttribute()]754 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]755 [System.Runtime.Serialization.DataContractAttribute(Name = "SlaveGroup", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" +756 "nsfer")]757 [System.SerializableAttribute()]758 public partial class SlaveGroup : HeuristicLab.Clients.Hive.Resource {759 }760 761 [System.Diagnostics.DebuggerStepThroughAttribute()]762 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]763 [System.Runtime.Serialization.DataContractAttribute(Name = "Slave", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" +764 "nsfer")]765 [System.SerializableAttribute()]766 public partial class Slave : HeuristicLab.Clients.Hive.Resource {767 768 [System.Runtime.Serialization.OptionalFieldAttribute()]769 private System.Nullable<int> CoresField;770 771 [System.Runtime.Serialization.OptionalFieldAttribute()]772 private HeuristicLab.Clients.Hive.CpuArchitecture CpuArchitectureField;773 774 [System.Runtime.Serialization.OptionalFieldAttribute()]775 private System.Nullable<int> CpuSpeedField;776 777 [System.Runtime.Serialization.OptionalFieldAttribute()]778 private System.Nullable<int> FreeCoresField;779 780 [System.Runtime.Serialization.OptionalFieldAttribute()]781 private System.Nullable<int> FreeMemoryField;782 783 [System.Runtime.Serialization.OptionalFieldAttribute()]784 private bool IsAllowedToCalculateField;785 786 [System.Runtime.Serialization.OptionalFieldAttribute()]787 private System.Nullable<System.DateTime> LastHeartbeatField;788 789 [System.Runtime.Serialization.OptionalFieldAttribute()]790 private System.Nullable<int> MemoryField;791 792 [System.Runtime.Serialization.OptionalFieldAttribute()]793 private string OperatingSystemField;794 795 [System.Runtime.Serialization.OptionalFieldAttribute()]796 private HeuristicLab.Clients.Hive.SlaveState SlaveStateField;797 798 [System.Runtime.Serialization.DataMemberAttribute()]799 public System.Nullable<int> Cores {800 get {801 return this.CoresField;802 }803 set {804 if ((this.CoresField.Equals(value) != true)) {805 this.CoresField = value;806 this.RaisePropertyChanged("Cores");807 }808 }809 }810 811 [System.Runtime.Serialization.DataMemberAttribute()]812 public HeuristicLab.Clients.Hive.CpuArchitecture CpuArchitecture {813 get {814 return this.CpuArchitectureField;815 }816 set {817 if ((this.CpuArchitectureField.Equals(value) != true)) {818 this.CpuArchitectureField = value;819 this.RaisePropertyChanged("CpuArchitecture");820 }821 }822 }823 824 [System.Runtime.Serialization.DataMemberAttribute()]825 public System.Nullable<int> CpuSpeed {826 get {827 return this.CpuSpeedField;828 }829 set {830 if ((this.CpuSpeedField.Equals(value) != true)) {831 this.CpuSpeedField = value;832 this.RaisePropertyChanged("CpuSpeed");833 }834 }835 }836 837 [System.Runtime.Serialization.DataMemberAttribute()]838 public System.Nullable<int> FreeCores {839 get {840 return this.FreeCoresField;841 }842 set {843 if ((this.FreeCoresField.Equals(value) != true)) {844 this.FreeCoresField = value;845 this.RaisePropertyChanged("FreeCores");846 }847 }848 }849 850 [System.Runtime.Serialization.DataMemberAttribute()]851 public System.Nullable<int> FreeMemory {852 get {853 return this.FreeMemoryField;854 }855 set {856 if ((this.FreeMemoryField.Equals(value) != true)) {857 this.FreeMemoryField = value;858 this.RaisePropertyChanged("FreeMemory");859 }860 }861 }862 863 [System.Runtime.Serialization.DataMemberAttribute()]864 public bool IsAllowedToCalculate {865 get {866 return this.IsAllowedToCalculateField;867 }868 set {869 if ((this.IsAllowedToCalculateField.Equals(value) != true)) {870 this.IsAllowedToCalculateField = value;871 this.RaisePropertyChanged("IsAllowedToCalculate");872 }873 }874 }875 876 [System.Runtime.Serialization.DataMemberAttribute()]877 public System.Nullable<System.DateTime> LastHeartbeat {878 get {879 return this.LastHeartbeatField;880 }881 set {882 if ((this.LastHeartbeatField.Equals(value) != true)) {883 this.LastHeartbeatField = value;884 this.RaisePropertyChanged("LastHeartbeat");885 }886 }887 }888 889 [System.Runtime.Serialization.DataMemberAttribute()]890 public System.Nullable<int> Memory {891 get {892 return this.MemoryField;893 }894 set {895 if ((this.MemoryField.Equals(value) != true)) {896 this.MemoryField = value;897 this.RaisePropertyChanged("Memory");898 }899 }900 }901 902 [System.Runtime.Serialization.DataMemberAttribute()]903 public string OperatingSystem {904 get {905 return this.OperatingSystemField;906 }907 set {908 if ((object.ReferenceEquals(this.OperatingSystemField, value) != true)) {909 this.OperatingSystemField = value;910 this.RaisePropertyChanged("OperatingSystem");911 }912 }913 }914 915 [System.Runtime.Serialization.DataMemberAttribute()]916 public HeuristicLab.Clients.Hive.SlaveState SlaveState {917 get {918 return this.SlaveStateField;919 }920 set {921 if ((this.SlaveStateField.Equals(value) != true)) {922 this.SlaveStateField = value;923 this.RaisePropertyChanged("SlaveState");924 }925 }926 }927 }928 929 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]930 [System.Runtime.Serialization.DataContractAttribute(Name = "CpuArchitecture", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" +931 "nsfer")]932 public enum CpuArchitecture : int {933 934 [System.Runtime.Serialization.EnumMemberAttribute()]935 x86 = 0,936 937 [System.Runtime.Serialization.EnumMemberAttribute()]938 x64 = 1,939 }940 941 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]942 [System.Runtime.Serialization.DataContractAttribute(Name = "SlaveState", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" +943 "nsfer")]944 public enum SlaveState : int {945 946 [System.Runtime.Serialization.EnumMemberAttribute()]947 Idle = 0,948 949 [System.Runtime.Serialization.EnumMemberAttribute()]950 Calculating = 1,951 952 [System.Runtime.Serialization.EnumMemberAttribute()]953 Offline = 2,954 }955 956 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]957 [System.Runtime.Serialization.DataContractAttribute(Name = "JobState", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" +958 "nsfer")]959 public enum JobState : int {960 961 [System.Runtime.Serialization.EnumMemberAttribute()]962 Offline = 0,963 964 [System.Runtime.Serialization.EnumMemberAttribute()]965 Waiting = 1,966 967 [System.Runtime.Serialization.EnumMemberAttribute()]968 Transferring = 2,969 970 [System.Runtime.Serialization.EnumMemberAttribute()]971 Calculating = 3,972 973 [System.Runtime.Serialization.EnumMemberAttribute()]974 Paused = 4,975 976 [System.Runtime.Serialization.EnumMemberAttribute()]977 Finished = 5,978 979 [System.Runtime.Serialization.EnumMemberAttribute()]980 Aborted = 6,981 982 [System.Runtime.Serialization.EnumMemberAttribute()]983 Failed = 7,984 }985 986 [System.Diagnostics.DebuggerStepThroughAttribute()]987 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]988 [System.Runtime.Serialization.DataContractAttribute(Name = "JobData", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" +989 "nsfer")]990 [System.SerializableAttribute()]991 public partial class JobData : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {992 993 [System.NonSerializedAttribute()]994 private System.Runtime.Serialization.ExtensionDataObject extensionDataField;995 996 [System.Runtime.Serialization.OptionalFieldAttribute()]997 private byte[] DataField;998 999 [System.Runtime.Serialization.OptionalFieldAttribute()]1000 private System.Guid JobIdField;1001 1002 [System.Runtime.Serialization.OptionalFieldAttribute()]1003 private System.DateTime LastUpdateField;1004 1005 public System.Runtime.Serialization.ExtensionDataObject ExtensionData {1006 get {1007 return this.extensionDataField;1008 }1009 set {1010 this.extensionDataField = value;1011 }1012 }1013 1014 [System.Runtime.Serialization.DataMemberAttribute()]1015 public byte[] Data {1016 get {1017 return this.DataField;1018 }1019 set {1020 if ((object.ReferenceEquals(this.DataField, value) != true)) {1021 this.DataField = value;1022 this.RaisePropertyChanged("Data");1023 }1024 }1025 }1026 1027 [System.Runtime.Serialization.DataMemberAttribute()]1028 public System.Guid JobId {1029 get {1030 return this.JobIdField;1031 }1032 set {1033 if ((this.JobIdField.Equals(value) != true)) {1034 this.JobIdField = value;1035 this.RaisePropertyChanged("JobId");1036 }1037 }1038 }1039 1040 [System.Runtime.Serialization.DataMemberAttribute()]1041 public System.DateTime LastUpdate {1042 get {1043 return this.LastUpdateField;1044 }1045 set {1046 if ((this.LastUpdateField.Equals(value) != true)) {1047 this.LastUpdateField = value;1048 this.RaisePropertyChanged("LastUpdate");1049 }1050 }1051 }1052 1053 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;1054 1055 protected void RaisePropertyChanged(string propertyName) {1056 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;1057 if ((propertyChanged != null)) {1058 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));1059 }1060 }1061 }1062 1063 [System.Diagnostics.DebuggerStepThroughAttribute()]1064 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]1065 [System.Runtime.Serialization.DataContractAttribute(Name = "Heartbeat", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" +1066 "nsfer")]1067 [System.SerializableAttribute()]1068 public partial class Heartbeat : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {1069 1070 [System.NonSerializedAttribute()]1071 private System.Runtime.Serialization.ExtensionDataObject extensionDataField;1072 1073 [System.Runtime.Serialization.OptionalFieldAttribute()]1074 private bool AssignJobField;1075 1076 [System.Runtime.Serialization.OptionalFieldAttribute()]1077 private int FreeCoresField;1078 1079 [System.Runtime.Serialization.OptionalFieldAttribute()]1080 private int FreeMemoryField;1081 1082 [System.Runtime.Serialization.OptionalFieldAttribute()]1083 private System.Collections.Generic.Dictionary<System.Guid, System.TimeSpan> JobProgressField;1084 1085 [System.Runtime.Serialization.OptionalFieldAttribute()]1086 private System.Guid SlaveIdField;1087 1088 public System.Runtime.Serialization.ExtensionDataObject ExtensionData {1089 get {1090 return this.extensionDataField;1091 }1092 set {1093 this.extensionDataField = value;1094 }1095 }1096 1097 [System.Runtime.Serialization.DataMemberAttribute()]1098 public bool AssignJob {1099 get {1100 return this.AssignJobField;1101 }1102 set {1103 if ((this.AssignJobField.Equals(value) != true)) {1104 this.AssignJobField = value;1105 this.RaisePropertyChanged("AssignJob");1106 }1107 }1108 }1109 1110 [System.Runtime.Serialization.DataMemberAttribute()]1111 public int FreeCores {1112 get {1113 return this.FreeCoresField;1114 }1115 set {1116 if ((this.FreeCoresField.Equals(value) != true)) {1117 this.FreeCoresField = value;1118 this.RaisePropertyChanged("FreeCores");1119 }1120 }1121 }1122 1123 [System.Runtime.Serialization.DataMemberAttribute()]1124 public int FreeMemory {1125 get {1126 return this.FreeMemoryField;1127 }1128 set {1129 if ((this.FreeMemoryField.Equals(value) != true)) {1130 this.FreeMemoryField = value;1131 this.RaisePropertyChanged("FreeMemory");1132 }1133 }1134 }1135 1136 [System.Runtime.Serialization.DataMemberAttribute()]1137 public System.Collections.Generic.Dictionary<System.Guid, System.TimeSpan> JobProgress {1138 get {1139 return this.JobProgressField;1140 }1141 set {1142 if ((object.ReferenceEquals(this.JobProgressField, value) != true)) {1143 this.JobProgressField = value;1144 this.RaisePropertyChanged("JobProgress");1145 }1146 }1147 }1148 1149 [System.Runtime.Serialization.DataMemberAttribute()]1150 public System.Guid SlaveId {1151 get {1152 return this.SlaveIdField;1153 }1154 set {1155 if ((this.SlaveIdField.Equals(value) != true)) {1156 this.SlaveIdField = value;1157 this.RaisePropertyChanged("SlaveId");1158 }1159 }1160 }1161 1162 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;1163 1164 protected void RaisePropertyChanged(string propertyName) {1165 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;1166 if ((propertyChanged != null)) {1167 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));1168 }1169 }1170 }1171 1172 [System.Diagnostics.DebuggerStepThroughAttribute()]1173 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]1174 [System.Runtime.Serialization.DataContractAttribute(Name = "MessageContainer", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common")]1175 [System.SerializableAttribute()]1176 public partial class MessageContainer : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {1177 1178 [System.NonSerializedAttribute()]1179 private System.Runtime.Serialization.ExtensionDataObject extensionDataField;1180 1181 [System.Runtime.Serialization.OptionalFieldAttribute()]1182 private System.Guid JobIdField;1183 1184 [System.Runtime.Serialization.OptionalFieldAttribute()]1185 private HeuristicLab.Clients.Hive.MessageContainer.MessageType MessageField;1186 1187 public System.Runtime.Serialization.ExtensionDataObject ExtensionData {1188 get {1189 return this.extensionDataField;1190 }1191 set {1192 this.extensionDataField = value;1193 }1194 }1195 1196 [System.Runtime.Serialization.DataMemberAttribute()]1197 public System.Guid JobId {1198 get {1199 return this.JobIdField;1200 }1201 set {1202 if ((this.JobIdField.Equals(value) != true)) {1203 this.JobIdField = value;1204 this.RaisePropertyChanged("JobId");1205 }1206 }1207 }1208 1209 [System.Runtime.Serialization.DataMemberAttribute()]1210 public HeuristicLab.Clients.Hive.MessageContainer.MessageType Message {1211 get {1212 return this.MessageField;1213 }1214 set {1215 if ((this.MessageField.Equals(value) != true)) {1216 this.MessageField = value;1217 this.RaisePropertyChanged("Message");1218 }1219 }1220 }1221 1222 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;1223 1224 protected void RaisePropertyChanged(string propertyName) {1225 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;1226 if ((propertyChanged != null)) {1227 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));1228 }1229 }1230 1231 15 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1232 [System.Runtime.Serialization.DataContractAttribute(Name = "MessageContainer.MessageType", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common")] 1233 public enum MessageType : int { 1234 1235 [System.Runtime.Serialization.EnumMemberAttribute()] 1236 CalculateJob = 0, 1237 1238 [System.Runtime.Serialization.EnumMemberAttribute()] 1239 StopJob = 1, 1240 1241 [System.Runtime.Serialization.EnumMemberAttribute()] 1242 StopAll = 2, 1243 1244 [System.Runtime.Serialization.EnumMemberAttribute()] 1245 AbortJob = 3, 1246 1247 [System.Runtime.Serialization.EnumMemberAttribute()] 1248 AbortAll = 4, 1249 1250 [System.Runtime.Serialization.EnumMemberAttribute()] 1251 PauseJob = 5, 1252 1253 [System.Runtime.Serialization.EnumMemberAttribute()] 1254 PauseAll = 6, 1255 1256 [System.Runtime.Serialization.EnumMemberAttribute()] 1257 Restart = 7, 1258 1259 [System.Runtime.Serialization.EnumMemberAttribute()] 1260 Sleep = 8, 1261 1262 [System.Runtime.Serialization.EnumMemberAttribute()] 1263 ShutdownSlave = 9, 1264 1265 [System.Runtime.Serialization.EnumMemberAttribute()] 1266 SayHello = 10, 1267 1268 [System.Runtime.Serialization.EnumMemberAttribute()] 1269 AddChildJob = 11, 1270 1271 [System.Runtime.Serialization.EnumMemberAttribute()] 1272 GetChildJobs = 12, 1273 1274 [System.Runtime.Serialization.EnumMemberAttribute()] 1275 DeleteChildJobs = 13, 1276 } 1277 } 1278 1279 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] 1280 [System.ServiceModel.ServiceContractAttribute(ConfigurationName = "HeuristicLab.Clients.Hive.IHiveService")] 1281 public interface IHiveService { 1282 1283 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetSlave", ReplyAction = "http://tempuri.org/IHiveService/GetSlaveResponse")] 1284 HeuristicLab.Clients.Hive.Slave GetSlave(System.Guid slaveId); 1285 1286 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetSlaveGroup", ReplyAction = "http://tempuri.org/IHiveService/GetSlaveGroupResponse")] 1287 HeuristicLab.Clients.Hive.SlaveGroup GetSlaveGroup(System.Guid slaveGroupId); 1288 1289 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetSlaves", ReplyAction = "http://tempuri.org/IHiveService/GetSlavesResponse")] 1290 System.Collections.Generic.List<HeuristicLab.Clients.Hive.Slave> GetSlaves(); 1291 1292 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetSlaveGroups", ReplyAction = "http://tempuri.org/IHiveService/GetSlaveGroupsResponse")] 1293 System.Collections.Generic.List<HeuristicLab.Clients.Hive.SlaveGroup> GetSlaveGroups(); 1294 1295 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateSlave", ReplyAction = "http://tempuri.org/IHiveService/UpdateSlaveResponse")] 1296 void UpdateSlave(HeuristicLab.Clients.Hive.Slave slave); 1297 1298 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateSlaveGroup", ReplyAction = "http://tempuri.org/IHiveService/UpdateSlaveGroupResponse")] 1299 void UpdateSlaveGroup(HeuristicLab.Clients.Hive.SlaveGroup slaveGroup); 1300 1301 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteSlave", ReplyAction = "http://tempuri.org/IHiveService/DeleteSlaveResponse")] 1302 void DeleteSlave(System.Guid slaveId); 1303 1304 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteSlaveGroup", ReplyAction = "http://tempuri.org/IHiveService/DeleteSlaveGroupResponse")] 1305 void DeleteSlaveGroup(System.Guid slaveGroupId); 1306 1307 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddResourceToGroup", ReplyAction = "http://tempuri.org/IHiveService/AddResourceToGroupResponse")] 1308 void AddResourceToGroup(System.Guid slaveGroupId, System.Guid resourceId); 1309 1310 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/RemoveResourceFromGroup", ReplyAction = "http://tempuri.org/IHiveService/RemoveResourceFromGroupResponse")] 1311 void RemoveResourceFromGroup(System.Guid slaveGroupId, System.Guid resourceId); 1312 1313 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetResourceId", ReplyAction = "http://tempuri.org/IHiveService/GetResourceIdResponse")] 1314 System.Guid GetResourceId(string resourceName); 1315 1316 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/TriggerLifecycle", ReplyAction = "http://tempuri.org/IHiveService/TriggerLifecycleResponse")] 1317 void TriggerLifecycle(bool force); 1318 1319 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddAppointment", ReplyAction = "http://tempuri.org/IHiveService/AddAppointmentResponse")] 1320 System.Guid AddAppointment(HeuristicLab.Clients.Hive.Appointment appointment); 1321 1322 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteAppointment", ReplyAction = "http://tempuri.org/IHiveService/DeleteAppointmentResponse")] 1323 void DeleteAppointment(System.Guid appointmentId); 1324 1325 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateAppointment", ReplyAction = "http://tempuri.org/IHiveService/UpdateAppointmentResponse")] 1326 void UpdateAppointment(HeuristicLab.Clients.Hive.Appointment appointment); 1327 1328 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetScheduleForResource", ReplyAction = "http://tempuri.org/IHiveService/GetScheduleForResourceResponse")] 1329 System.Collections.Generic.List<HeuristicLab.Clients.Hive.Appointment> GetScheduleForResource(System.Guid resourceId); 1330 1331 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddJob", ReplyAction = "http://tempuri.org/IHiveService/AddJobResponse")] 1332 System.Guid AddJob(HeuristicLab.Clients.Hive.Job job, HeuristicLab.Clients.Hive.JobData jobData, System.Collections.Generic.List<System.Guid> resourceIds); 1333 1334 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddChildJob", ReplyAction = "http://tempuri.org/IHiveService/AddChildJobResponse")] 1335 System.Guid AddChildJob(System.Guid parentJobId, HeuristicLab.Clients.Hive.Job job, HeuristicLab.Clients.Hive.JobData jobData); 1336 1337 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetJob", ReplyAction = "http://tempuri.org/IHiveService/GetJobResponse")] 1338 HeuristicLab.Clients.Hive.Job GetJob(System.Guid jobId); 1339 1340 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetJobs", ReplyAction = "http://tempuri.org/IHiveService/GetJobsResponse")] 1341 System.Collections.Generic.List<HeuristicLab.Clients.Hive.Job> GetJobs(); 1342 1343 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetLightweightJobs", ReplyAction = "http://tempuri.org/IHiveService/GetLightweightJobsResponse")] 1344 System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightJob> GetLightweightJobs(System.Collections.Generic.List<System.Guid> jobIds); 1345 1346 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetLightweightChildJobs", ReplyAction = "http://tempuri.org/IHiveService/GetLightweightChildJobsResponse")] 1347 System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightJob> GetLightweightChildJobs(System.Nullable<System.Guid> parentJobId, bool recursive, bool includeParent); 1348 1349 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetJobData", ReplyAction = "http://tempuri.org/IHiveService/GetJobDataResponse")] 1350 HeuristicLab.Clients.Hive.JobData GetJobData(System.Guid jobId); 1351 1352 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateJob", ReplyAction = "http://tempuri.org/IHiveService/UpdateJobResponse")] 1353 void UpdateJob(HeuristicLab.Clients.Hive.Job jobDto); 1354 1355 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateJobData", ReplyAction = "http://tempuri.org/IHiveService/UpdateJobDataResponse")] 1356 void UpdateJobData(HeuristicLab.Clients.Hive.Job jobDto, HeuristicLab.Clients.Hive.JobData jobDataDto); 1357 1358 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteJob", ReplyAction = "http://tempuri.org/IHiveService/DeleteJobResponse")] 1359 void DeleteJob(System.Guid jobId); 1360 1361 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteChildJobs", ReplyAction = "http://tempuri.org/IHiveService/DeleteChildJobsResponse")] 1362 void DeleteChildJobs(System.Guid parentJobId); 1363 1364 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateJobState", ReplyAction = "http://tempuri.org/IHiveService/UpdateJobStateResponse")] 1365 HeuristicLab.Clients.Hive.Job UpdateJobState(System.Guid jobId, HeuristicLab.Clients.Hive.JobState jobState, System.Nullable<System.Guid> slaveId, System.Nullable<System.Guid> userId, string exception); 1366 1367 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/StopJob", ReplyAction = "http://tempuri.org/IHiveService/StopJobResponse")] 1368 void StopJob(System.Guid jobId); 1369 1370 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/PauseJob", ReplyAction = "http://tempuri.org/IHiveService/PauseJobResponse")] 1371 void PauseJob(System.Guid jobId); 1372 1373 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetHiveExperiment", ReplyAction = "http://tempuri.org/IHiveService/GetHiveExperimentResponse")] 1374 HeuristicLab.Clients.Hive.HiveExperiment GetHiveExperiment(System.Guid id); 1375 1376 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetHiveExperiments", ReplyAction = "http://tempuri.org/IHiveService/GetHiveExperimentsResponse")] 1377 System.Collections.Generic.List<HeuristicLab.Clients.Hive.HiveExperiment> GetHiveExperiments(); 1378 1379 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetAllHiveExperiments", ReplyAction = "http://tempuri.org/IHiveService/GetAllHiveExperimentsResponse")] 1380 System.Collections.Generic.List<HeuristicLab.Clients.Hive.HiveExperiment> GetAllHiveExperiments(); 1381 1382 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddHiveExperiment", ReplyAction = "http://tempuri.org/IHiveService/AddHiveExperimentResponse")] 1383 System.Guid AddHiveExperiment(HeuristicLab.Clients.Hive.HiveExperiment hiveExperimentDto); 1384 1385 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateHiveExperiment", ReplyAction = "http://tempuri.org/IHiveService/UpdateHiveExperimentResponse")] 1386 void UpdateHiveExperiment(HeuristicLab.Clients.Hive.HiveExperiment hiveExperimentDto); 1387 1388 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteHiveExperiment", ReplyAction = "http://tempuri.org/IHiveService/DeleteHiveExperimentResponse")] 1389 void DeleteHiveExperiment(System.Guid hiveExperimentId); 1390 1391 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/Hello", ReplyAction = "http://tempuri.org/IHiveService/HelloResponse")] 1392 void Hello(HeuristicLab.Clients.Hive.Slave slave); 1393 1394 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GoodBye", ReplyAction = "http://tempuri.org/IHiveService/GoodByeResponse")] 1395 void GoodBye(System.Guid slaveId); 1396 1397 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/Heartbeat", ReplyAction = "http://tempuri.org/IHiveService/HeartbeatResponse")] 1398 System.Collections.Generic.List<HeuristicLab.Clients.Hive.MessageContainer> Heartbeat([System.ServiceModel.MessageParameterAttribute(Name = "heartbeat")] HeuristicLab.Clients.Hive.Heartbeat heartbeat1); 1399 1400 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddPlugin", ReplyAction = "http://tempuri.org/IHiveService/AddPluginResponse")] 1401 System.Guid AddPlugin(HeuristicLab.Clients.Hive.Plugin plugin, System.Collections.Generic.List<HeuristicLab.Clients.Hive.PluginData> pluginData); 1402 1403 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetPlugins", ReplyAction = "http://tempuri.org/IHiveService/GetPluginsResponse")] 1404 System.Collections.Generic.List<HeuristicLab.Clients.Hive.Plugin> GetPlugins(); 1405 1406 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetPluginDatas", ReplyAction = "http://tempuri.org/IHiveService/GetPluginDatasResponse")] 1407 System.Collections.Generic.List<HeuristicLab.Clients.Hive.PluginData> GetPluginDatas(System.Collections.Generic.List<System.Guid> pluginIds); 1408 1409 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddSlave", ReplyAction = "http://tempuri.org/IHiveService/AddSlaveResponse")] 1410 System.Guid AddSlave(HeuristicLab.Clients.Hive.Slave slave); 1411 1412 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddSlaveGroup", ReplyAction = "http://tempuri.org/IHiveService/AddSlaveGroupResponse")] 1413 System.Guid AddSlaveGroup(HeuristicLab.Clients.Hive.SlaveGroup slaveGroup); 1414 } 1415 1416 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] 1417 public interface IHiveServiceChannel : HeuristicLab.Clients.Hive.IHiveService, System.ServiceModel.IClientChannel { 1418 } 1419 1420 [System.Diagnostics.DebuggerStepThroughAttribute()] 1421 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] 1422 public partial class HiveServiceClient : System.ServiceModel.ClientBase<HeuristicLab.Clients.Hive.IHiveService>, HeuristicLab.Clients.Hive.IHiveService { 1423 1424 public HiveServiceClient() { 1425 } 1426 1427 public HiveServiceClient(string endpointConfigurationName) : 1428 base(endpointConfigurationName) { 1429 } 1430 1431 public HiveServiceClient(string endpointConfigurationName, string remoteAddress) : 1432 base(endpointConfigurationName, remoteAddress) { 1433 } 1434 1435 public HiveServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 1436 base(endpointConfigurationName, remoteAddress) { 1437 } 1438 1439 public HiveServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 1440 base(binding, remoteAddress) { 1441 } 1442 1443 public HeuristicLab.Clients.Hive.Slave GetSlave(System.Guid slaveId) { 1444 return base.Channel.GetSlave(slaveId); 1445 } 1446 1447 public HeuristicLab.Clients.Hive.SlaveGroup GetSlaveGroup(System.Guid slaveGroupId) { 1448 return base.Channel.GetSlaveGroup(slaveGroupId); 1449 } 1450 1451 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Slave> GetSlaves() { 1452 return base.Channel.GetSlaves(); 1453 } 1454 1455 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.SlaveGroup> GetSlaveGroups() { 1456 return base.Channel.GetSlaveGroups(); 1457 } 1458 1459 public void UpdateSlave(HeuristicLab.Clients.Hive.Slave slave) { 1460 base.Channel.UpdateSlave(slave); 1461 } 1462 1463 public void UpdateSlaveGroup(HeuristicLab.Clients.Hive.SlaveGroup slaveGroup) { 1464 base.Channel.UpdateSlaveGroup(slaveGroup); 1465 } 1466 1467 public void DeleteSlave(System.Guid slaveId) { 1468 base.Channel.DeleteSlave(slaveId); 1469 } 1470 1471 public void DeleteSlaveGroup(System.Guid slaveGroupId) { 1472 base.Channel.DeleteSlaveGroup(slaveGroupId); 1473 } 1474 1475 public void AddResourceToGroup(System.Guid slaveGroupId, System.Guid resourceId) { 1476 base.Channel.AddResourceToGroup(slaveGroupId, resourceId); 1477 } 1478 1479 public void RemoveResourceFromGroup(System.Guid slaveGroupId, System.Guid resourceId) { 1480 base.Channel.RemoveResourceFromGroup(slaveGroupId, resourceId); 1481 } 1482 1483 public System.Guid GetResourceId(string resourceName) { 1484 return base.Channel.GetResourceId(resourceName); 1485 } 1486 1487 public void TriggerLifecycle(bool force) { 1488 base.Channel.TriggerLifecycle(force); 1489 } 1490 1491 public System.Guid AddAppointment(HeuristicLab.Clients.Hive.Appointment appointment) { 1492 return base.Channel.AddAppointment(appointment); 1493 } 1494 1495 public void DeleteAppointment(System.Guid appointmentId) { 1496 base.Channel.DeleteAppointment(appointmentId); 1497 } 1498 1499 public void UpdateAppointment(HeuristicLab.Clients.Hive.Appointment appointment) { 1500 base.Channel.UpdateAppointment(appointment); 1501 } 1502 1503 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Appointment> GetScheduleForResource(System.Guid resourceId) { 1504 return base.Channel.GetScheduleForResource(resourceId); 1505 } 1506 1507 public System.Guid AddJob(HeuristicLab.Clients.Hive.Job job, HeuristicLab.Clients.Hive.JobData jobData, System.Collections.Generic.List<System.Guid> resourceIds) { 1508 return base.Channel.AddJob(job, jobData, resourceIds); 1509 } 1510 1511 public System.Guid AddChildJob(System.Guid parentJobId, HeuristicLab.Clients.Hive.Job job, HeuristicLab.Clients.Hive.JobData jobData) { 1512 return base.Channel.AddChildJob(parentJobId, job, jobData); 1513 } 1514 1515 public HeuristicLab.Clients.Hive.Job GetJob(System.Guid jobId) { 1516 return base.Channel.GetJob(jobId); 1517 } 1518 1519 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Job> GetJobs() { 1520 return base.Channel.GetJobs(); 1521 } 1522 1523 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightJob> GetLightweightJobs(System.Collections.Generic.List<System.Guid> jobIds) { 1524 return base.Channel.GetLightweightJobs(jobIds); 1525 } 1526 1527 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightJob> GetLightweightChildJobs(System.Nullable<System.Guid> parentJobId, bool recursive, bool includeParent) { 1528 return base.Channel.GetLightweightChildJobs(parentJobId, recursive, includeParent); 1529 } 1530 1531 public HeuristicLab.Clients.Hive.JobData GetJobData(System.Guid jobId) { 1532 return base.Channel.GetJobData(jobId); 1533 } 1534 1535 public void UpdateJob(HeuristicLab.Clients.Hive.Job jobDto) { 1536 base.Channel.UpdateJob(jobDto); 1537 } 1538 1539 public void UpdateJobData(HeuristicLab.Clients.Hive.Job jobDto, HeuristicLab.Clients.Hive.JobData jobDataDto) { 1540 base.Channel.UpdateJobData(jobDto, jobDataDto); 1541 } 1542 1543 public void DeleteJob(System.Guid jobId) { 1544 base.Channel.DeleteJob(jobId); 1545 } 1546 1547 public void DeleteChildJobs(System.Guid parentJobId) { 1548 base.Channel.DeleteChildJobs(parentJobId); 1549 } 1550 1551 public HeuristicLab.Clients.Hive.Job UpdateJobState(System.Guid jobId, HeuristicLab.Clients.Hive.JobState jobState, System.Nullable<System.Guid> slaveId, System.Nullable<System.Guid> userId, string exception) { 1552 return base.Channel.UpdateJobState(jobId, jobState, slaveId, userId, exception); 1553 } 1554 1555 public void StopJob(System.Guid jobId) { 1556 base.Channel.StopJob(jobId); 1557 } 1558 1559 public void PauseJob(System.Guid jobId) { 1560 base.Channel.PauseJob(jobId); 1561 } 1562 1563 public HeuristicLab.Clients.Hive.HiveExperiment GetHiveExperiment(System.Guid id) { 1564 return base.Channel.GetHiveExperiment(id); 1565 } 1566 1567 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.HiveExperiment> GetHiveExperiments() { 1568 return base.Channel.GetHiveExperiments(); 1569 } 1570 1571 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.HiveExperiment> GetAllHiveExperiments() { 1572 return base.Channel.GetAllHiveExperiments(); 1573 } 1574 1575 public System.Guid AddHiveExperiment(HeuristicLab.Clients.Hive.HiveExperiment hiveExperimentDto) { 1576 return base.Channel.AddHiveExperiment(hiveExperimentDto); 1577 } 1578 1579 public void UpdateHiveExperiment(HeuristicLab.Clients.Hive.HiveExperiment hiveExperimentDto) { 1580 base.Channel.UpdateHiveExperiment(hiveExperimentDto); 1581 } 1582 1583 public void DeleteHiveExperiment(System.Guid hiveExperimentId) { 1584 base.Channel.DeleteHiveExperiment(hiveExperimentId); 1585 } 1586 1587 public void Hello(HeuristicLab.Clients.Hive.Slave slave) { 1588 base.Channel.Hello(slave); 1589 } 1590 1591 public void GoodBye(System.Guid slaveId) { 1592 base.Channel.GoodBye(slaveId); 1593 } 1594 1595 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.MessageContainer> Heartbeat(HeuristicLab.Clients.Hive.Heartbeat heartbeat1) { 1596 return base.Channel.Heartbeat(heartbeat1); 1597 } 1598 1599 public System.Guid AddPlugin(HeuristicLab.Clients.Hive.Plugin plugin, System.Collections.Generic.List<HeuristicLab.Clients.Hive.PluginData> pluginData) { 1600 return base.Channel.AddPlugin(plugin, pluginData); 1601 } 1602 1603 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Plugin> GetPlugins() { 1604 return base.Channel.GetPlugins(); 1605 } 1606 1607 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.PluginData> GetPluginDatas(System.Collections.Generic.List<System.Guid> pluginIds) { 1608 return base.Channel.GetPluginDatas(pluginIds); 1609 } 1610 1611 public System.Guid AddSlave(HeuristicLab.Clients.Hive.Slave slave) { 1612 return base.Channel.AddSlave(slave); 1613 } 1614 1615 public System.Guid AddSlaveGroup(HeuristicLab.Clients.Hive.SlaveGroup slaveGroup) { 1616 return base.Channel.AddSlaveGroup(slaveGroup); 1617 } 1618 } 16 [System.Runtime.Serialization.DataContractAttribute(Name="HiveItem", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 17 "nsfer")] 18 [System.SerializableAttribute()] 19 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.LightweightJob))] 20 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.StateLog))] 21 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Job))] 22 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.NamedHiveItem))] 23 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.HiveExperiment))] 24 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Resource))] 25 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Slave))] 26 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.SlaveGroup))] 27 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Plugin))] 28 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.PluginData))] 29 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Appointment))] 30 public partial class HiveItem : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged 31 { 32 33 [System.NonSerializedAttribute()] 34 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 35 36 [System.Runtime.Serialization.OptionalFieldAttribute()] 37 private System.Guid IdField; 38 39 public System.Runtime.Serialization.ExtensionDataObject ExtensionData 40 { 41 get 42 { 43 return this.extensionDataField; 44 } 45 set 46 { 47 this.extensionDataField = value; 48 } 49 } 50 51 [System.Runtime.Serialization.DataMemberAttribute()] 52 public System.Guid Id 53 { 54 get 55 { 56 return this.IdField; 57 } 58 set 59 { 60 if ((this.IdField.Equals(value) != true)) 61 { 62 this.IdField = value; 63 this.RaisePropertyChanged("Id"); 64 } 65 } 66 } 67 68 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 69 70 //protected void RaisePropertyChanged(string propertyName) 71 //{ 72 // System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 73 // if ((propertyChanged != null)) 74 // { 75 // propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 76 // } 77 //} 78 } 79 80 [System.Diagnostics.DebuggerStepThroughAttribute()] 81 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 82 [System.Runtime.Serialization.DataContractAttribute(Name="LightweightJob", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 83 "nsfer")] 84 [System.SerializableAttribute()] 85 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Job))] 86 public partial class LightweightJob : HeuristicLab.Clients.Hive.HiveItem 87 { 88 89 [System.Runtime.Serialization.OptionalFieldAttribute()] 90 private System.Nullable<HeuristicLab.Clients.Hive.Command> CommandField; 91 92 [System.Runtime.Serialization.OptionalFieldAttribute()] 93 private System.Nullable<System.TimeSpan> ExecutionTimeField; 94 95 [System.Runtime.Serialization.OptionalFieldAttribute()] 96 private System.Nullable<System.Guid> ParentJobIdField; 97 98 [System.Runtime.Serialization.OptionalFieldAttribute()] 99 private HeuristicLab.Clients.Hive.JobState StateField; 100 101 [System.Runtime.Serialization.OptionalFieldAttribute()] 102 private System.Collections.Generic.List<HeuristicLab.Clients.Hive.StateLog> StateLogField; 103 104 [System.Runtime.Serialization.DataMemberAttribute()] 105 public System.Nullable<HeuristicLab.Clients.Hive.Command> Command 106 { 107 get 108 { 109 return this.CommandField; 110 } 111 set 112 { 113 if ((this.CommandField.Equals(value) != true)) 114 { 115 this.CommandField = value; 116 this.RaisePropertyChanged("Command"); 117 } 118 } 119 } 120 121 [System.Runtime.Serialization.DataMemberAttribute()] 122 public System.Nullable<System.TimeSpan> ExecutionTime 123 { 124 get 125 { 126 return this.ExecutionTimeField; 127 } 128 set 129 { 130 if ((this.ExecutionTimeField.Equals(value) != true)) 131 { 132 this.ExecutionTimeField = value; 133 this.RaisePropertyChanged("ExecutionTime"); 134 } 135 } 136 } 137 138 [System.Runtime.Serialization.DataMemberAttribute()] 139 public System.Nullable<System.Guid> ParentJobId 140 { 141 get 142 { 143 return this.ParentJobIdField; 144 } 145 set 146 { 147 if ((this.ParentJobIdField.Equals(value) != true)) 148 { 149 this.ParentJobIdField = value; 150 this.RaisePropertyChanged("ParentJobId"); 151 } 152 } 153 } 154 155 [System.Runtime.Serialization.DataMemberAttribute()] 156 public HeuristicLab.Clients.Hive.JobState State 157 { 158 get 159 { 160 return this.StateField; 161 } 162 set 163 { 164 if ((this.StateField.Equals(value) != true)) 165 { 166 this.StateField = value; 167 this.RaisePropertyChanged("State"); 168 } 169 } 170 } 171 172 [System.Runtime.Serialization.DataMemberAttribute()] 173 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.StateLog> StateLog 174 { 175 get 176 { 177 return this.StateLogField; 178 } 179 set 180 { 181 if ((object.ReferenceEquals(this.StateLogField, value) != true)) 182 { 183 this.StateLogField = value; 184 this.RaisePropertyChanged("StateLog"); 185 } 186 } 187 } 188 } 189 190 [System.Diagnostics.DebuggerStepThroughAttribute()] 191 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 192 [System.Runtime.Serialization.DataContractAttribute(Name="StateLog", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 193 "nsfer")] 194 [System.SerializableAttribute()] 195 public partial class StateLog : HeuristicLab.Clients.Hive.HiveItem 196 { 197 198 [System.Runtime.Serialization.OptionalFieldAttribute()] 199 private System.DateTime DateTimeField; 200 201 [System.Runtime.Serialization.OptionalFieldAttribute()] 202 private string ExceptionField; 203 204 [System.Runtime.Serialization.OptionalFieldAttribute()] 205 private System.Guid JobIdField; 206 207 [System.Runtime.Serialization.OptionalFieldAttribute()] 208 private System.Nullable<System.Guid> SlaveIdField; 209 210 [System.Runtime.Serialization.OptionalFieldAttribute()] 211 private HeuristicLab.Clients.Hive.JobState StateField; 212 213 [System.Runtime.Serialization.OptionalFieldAttribute()] 214 private System.Nullable<System.Guid> UserIdField; 215 216 [System.Runtime.Serialization.DataMemberAttribute()] 217 public System.DateTime DateTime 218 { 219 get 220 { 221 return this.DateTimeField; 222 } 223 set 224 { 225 if ((this.DateTimeField.Equals(value) != true)) 226 { 227 this.DateTimeField = value; 228 this.RaisePropertyChanged("DateTime"); 229 } 230 } 231 } 232 233 [System.Runtime.Serialization.DataMemberAttribute()] 234 public string Exception 235 { 236 get 237 { 238 return this.ExceptionField; 239 } 240 set 241 { 242 if ((object.ReferenceEquals(this.ExceptionField, value) != true)) 243 { 244 this.ExceptionField = value; 245 this.RaisePropertyChanged("Exception"); 246 } 247 } 248 } 249 250 [System.Runtime.Serialization.DataMemberAttribute()] 251 public System.Guid JobId 252 { 253 get 254 { 255 return this.JobIdField; 256 } 257 set 258 { 259 if ((this.JobIdField.Equals(value) != true)) 260 { 261 this.JobIdField = value; 262 this.RaisePropertyChanged("JobId"); 263 } 264 } 265 } 266 267 [System.Runtime.Serialization.DataMemberAttribute()] 268 public System.Nullable<System.Guid> SlaveId 269 { 270 get 271 { 272 return this.SlaveIdField; 273 } 274 set 275 { 276 if ((this.SlaveIdField.Equals(value) != true)) 277 { 278 this.SlaveIdField = value; 279 this.RaisePropertyChanged("SlaveId"); 280 } 281 } 282 } 283 284 [System.Runtime.Serialization.DataMemberAttribute()] 285 public HeuristicLab.Clients.Hive.JobState State 286 { 287 get 288 { 289 return this.StateField; 290 } 291 set 292 { 293 if ((this.StateField.Equals(value) != true)) 294 { 295 this.StateField = value; 296 this.RaisePropertyChanged("State"); 297 } 298 } 299 } 300 301 [System.Runtime.Serialization.DataMemberAttribute()] 302 public System.Nullable<System.Guid> UserId 303 { 304 get 305 { 306 return this.UserIdField; 307 } 308 set 309 { 310 if ((this.UserIdField.Equals(value) != true)) 311 { 312 this.UserIdField = value; 313 this.RaisePropertyChanged("UserId"); 314 } 315 } 316 } 317 } 318 319 [System.Diagnostics.DebuggerStepThroughAttribute()] 320 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 321 [System.Runtime.Serialization.DataContractAttribute(Name="Job", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 322 "nsfer")] 323 [System.SerializableAttribute()] 324 public partial class Job : HeuristicLab.Clients.Hive.LightweightJob 325 { 326 327 [System.Runtime.Serialization.OptionalFieldAttribute()] 328 private int CoresNeededField; 329 330 [System.Runtime.Serialization.OptionalFieldAttribute()] 331 private bool FinishWhenChildJobsFinishedField; 332 333 [System.Runtime.Serialization.OptionalFieldAttribute()] 334 private bool IsParentJobField; 335 336 [System.Runtime.Serialization.OptionalFieldAttribute()] 337 private System.Nullable<System.DateTime> LastHeartbeatField; 338 339 [System.Runtime.Serialization.OptionalFieldAttribute()] 340 private int MemoryNeededField; 341 342 [System.Runtime.Serialization.OptionalFieldAttribute()] 343 private System.Collections.Generic.List<System.Guid> PluginsNeededIdsField; 344 345 [System.Runtime.Serialization.OptionalFieldAttribute()] 346 private int PriorityField; 347 348 [System.Runtime.Serialization.DataMemberAttribute()] 349 public int CoresNeeded 350 { 351 get 352 { 353 return this.CoresNeededField; 354 } 355 set 356 { 357 if ((this.CoresNeededField.Equals(value) != true)) 358 { 359 this.CoresNeededField = value; 360 this.RaisePropertyChanged("CoresNeeded"); 361 } 362 } 363 } 364 365 [System.Runtime.Serialization.DataMemberAttribute()] 366 public bool FinishWhenChildJobsFinished 367 { 368 get 369 { 370 return this.FinishWhenChildJobsFinishedField; 371 } 372 set 373 { 374 if ((this.FinishWhenChildJobsFinishedField.Equals(value) != true)) 375 { 376 this.FinishWhenChildJobsFinishedField = value; 377 this.RaisePropertyChanged("FinishWhenChildJobsFinished"); 378 } 379 } 380 } 381 382 [System.Runtime.Serialization.DataMemberAttribute()] 383 public bool IsParentJob 384 { 385 get 386 { 387 return this.IsParentJobField; 388 } 389 set 390 { 391 if ((this.IsParentJobField.Equals(value) != true)) 392 { 393 this.IsParentJobField = value; 394 this.RaisePropertyChanged("IsParentJob"); 395 } 396 } 397 } 398 399 [System.Runtime.Serialization.DataMemberAttribute()] 400 public System.Nullable<System.DateTime> LastHeartbeat 401 { 402 get 403 { 404 return this.LastHeartbeatField; 405 } 406 set 407 { 408 if ((this.LastHeartbeatField.Equals(value) != true)) 409 { 410 this.LastHeartbeatField = value; 411 this.RaisePropertyChanged("LastHeartbeat"); 412 } 413 } 414 } 415 416 [System.Runtime.Serialization.DataMemberAttribute()] 417 public int MemoryNeeded 418 { 419 get 420 { 421 return this.MemoryNeededField; 422 } 423 set 424 { 425 if ((this.MemoryNeededField.Equals(value) != true)) 426 { 427 this.MemoryNeededField = value; 428 this.RaisePropertyChanged("MemoryNeeded"); 429 } 430 } 431 } 432 433 [System.Runtime.Serialization.DataMemberAttribute()] 434 public System.Collections.Generic.List<System.Guid> PluginsNeededIds 435 { 436 get 437 { 438 return this.PluginsNeededIdsField; 439 } 440 set 441 { 442 if ((object.ReferenceEquals(this.PluginsNeededIdsField, value) != true)) 443 { 444 this.PluginsNeededIdsField = value; 445 this.RaisePropertyChanged("PluginsNeededIds"); 446 } 447 } 448 } 449 450 [System.Runtime.Serialization.DataMemberAttribute()] 451 public int Priority 452 { 453 get 454 { 455 return this.PriorityField; 456 } 457 set 458 { 459 if ((this.PriorityField.Equals(value) != true)) 460 { 461 this.PriorityField = value; 462 this.RaisePropertyChanged("Priority"); 463 } 464 } 465 } 466 } 467 468 [System.Diagnostics.DebuggerStepThroughAttribute()] 469 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 470 [System.Runtime.Serialization.DataContractAttribute(Name="NamedHiveItem", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 471 "nsfer")] 472 [System.SerializableAttribute()] 473 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.HiveExperiment))] 474 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Resource))] 475 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Slave))] 476 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.SlaveGroup))] 477 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Plugin))] 478 public partial class NamedHiveItem : HeuristicLab.Clients.Hive.HiveItem 479 { 480 481 [System.Runtime.Serialization.OptionalFieldAttribute()] 482 private string DescriptionField; 483 484 [System.Runtime.Serialization.OptionalFieldAttribute()] 485 private string NameField; 486 487 [System.Runtime.Serialization.DataMemberAttribute()] 488 public string Description 489 { 490 get 491 { 492 return this.DescriptionField; 493 } 494 set 495 { 496 if ((object.ReferenceEquals(this.DescriptionField, value) != true)) 497 { 498 this.DescriptionField = value; 499 this.RaisePropertyChanged("Description"); 500 } 501 } 502 } 503 504 [System.Runtime.Serialization.DataMemberAttribute()] 505 public string Name 506 { 507 get 508 { 509 return this.NameField; 510 } 511 set 512 { 513 if ((object.ReferenceEquals(this.NameField, value) != true)) 514 { 515 this.NameField = value; 516 this.RaisePropertyChanged("Name"); 517 } 518 } 519 } 520 } 521 522 [System.Diagnostics.DebuggerStepThroughAttribute()] 523 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 524 [System.Runtime.Serialization.DataContractAttribute(Name="HiveExperiment", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 525 "nsfer")] 526 [System.SerializableAttribute()] 527 public partial class HiveExperiment : HeuristicLab.Clients.Hive.NamedHiveItem 528 { 529 530 [System.Runtime.Serialization.OptionalFieldAttribute()] 531 private System.DateTime DateCreatedField; 532 533 [System.Runtime.Serialization.OptionalFieldAttribute()] 534 private System.Nullable<System.DateTime> LastAccessedField; 535 536 [System.Runtime.Serialization.OptionalFieldAttribute()] 537 private System.Guid OwnerUserIdField; 538 539 [System.Runtime.Serialization.OptionalFieldAttribute()] 540 private string ResourceNamesField; 541 542 [System.Runtime.Serialization.OptionalFieldAttribute()] 543 private System.Guid RootJobIdField; 544 545 [System.Runtime.Serialization.DataMemberAttribute()] 546 public System.DateTime DateCreated 547 { 548 get 549 { 550 return this.DateCreatedField; 551 } 552 set 553 { 554 if ((this.DateCreatedField.Equals(value) != true)) 555 { 556 this.DateCreatedField = value; 557 this.RaisePropertyChanged("DateCreated"); 558 } 559 } 560 } 561 562 [System.Runtime.Serialization.DataMemberAttribute()] 563 public System.Nullable<System.DateTime> LastAccessed 564 { 565 get 566 { 567 return this.LastAccessedField; 568 } 569 set 570 { 571 if ((this.LastAccessedField.Equals(value) != true)) 572 { 573 this.LastAccessedField = value; 574 this.RaisePropertyChanged("LastAccessed"); 575 } 576 } 577 } 578 579 [System.Runtime.Serialization.DataMemberAttribute()] 580 public System.Guid OwnerUserId 581 { 582 get 583 { 584 return this.OwnerUserIdField; 585 } 586 set 587 { 588 if ((this.OwnerUserIdField.Equals(value) != true)) 589 { 590 this.OwnerUserIdField = value; 591 this.RaisePropertyChanged("OwnerUserId"); 592 } 593 } 594 } 595 596 [System.Runtime.Serialization.DataMemberAttribute()] 597 public string ResourceNames 598 { 599 get 600 { 601 return this.ResourceNamesField; 602 } 603 set 604 { 605 if ((object.ReferenceEquals(this.ResourceNamesField, value) != true)) 606 { 607 this.ResourceNamesField = value; 608 this.RaisePropertyChanged("ResourceNames"); 609 } 610 } 611 } 612 613 [System.Runtime.Serialization.DataMemberAttribute()] 614 public System.Guid RootJobId 615 { 616 get 617 { 618 return this.RootJobIdField; 619 } 620 set 621 { 622 if ((this.RootJobIdField.Equals(value) != true)) 623 { 624 this.RootJobIdField = value; 625 this.RaisePropertyChanged("RootJobId"); 626 } 627 } 628 } 629 } 630 631 [System.Diagnostics.DebuggerStepThroughAttribute()] 632 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 633 [System.Runtime.Serialization.DataContractAttribute(Name="Resource", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 634 "nsfer")] 635 [System.SerializableAttribute()] 636 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Slave))] 637 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.SlaveGroup))] 638 public partial class Resource : HeuristicLab.Clients.Hive.NamedHiveItem 639 { 640 641 [System.Runtime.Serialization.OptionalFieldAttribute()] 642 private System.Nullable<System.Guid> ParentResourceIdField; 643 644 [System.Runtime.Serialization.DataMemberAttribute()] 645 public System.Nullable<System.Guid> ParentResourceId 646 { 647 get 648 { 649 return this.ParentResourceIdField; 650 } 651 set 652 { 653 if ((this.ParentResourceIdField.Equals(value) != true)) 654 { 655 this.ParentResourceIdField = value; 656 this.RaisePropertyChanged("ParentResourceId"); 657 } 658 } 659 } 660 } 661 662 [System.Diagnostics.DebuggerStepThroughAttribute()] 663 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 664 [System.Runtime.Serialization.DataContractAttribute(Name="Slave", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 665 "nsfer")] 666 [System.SerializableAttribute()] 667 public partial class Slave : HeuristicLab.Clients.Hive.Resource 668 { 669 670 [System.Runtime.Serialization.OptionalFieldAttribute()] 671 private System.Nullable<int> CoresField; 672 673 [System.Runtime.Serialization.OptionalFieldAttribute()] 674 private HeuristicLab.Clients.Hive.CpuArchitecture CpuArchitectureField; 675 676 [System.Runtime.Serialization.OptionalFieldAttribute()] 677 private System.Nullable<int> CpuSpeedField; 678 679 [System.Runtime.Serialization.OptionalFieldAttribute()] 680 private System.Nullable<int> FreeCoresField; 681 682 [System.Runtime.Serialization.OptionalFieldAttribute()] 683 private System.Nullable<int> FreeMemoryField; 684 685 [System.Runtime.Serialization.OptionalFieldAttribute()] 686 private bool IsAllowedToCalculateField; 687 688 [System.Runtime.Serialization.OptionalFieldAttribute()] 689 private System.Nullable<System.DateTime> LastHeartbeatField; 690 691 [System.Runtime.Serialization.OptionalFieldAttribute()] 692 private System.Nullable<int> MemoryField; 693 694 [System.Runtime.Serialization.OptionalFieldAttribute()] 695 private string OperatingSystemField; 696 697 [System.Runtime.Serialization.OptionalFieldAttribute()] 698 private HeuristicLab.Clients.Hive.SlaveState SlaveStateField; 699 700 [System.Runtime.Serialization.DataMemberAttribute()] 701 public System.Nullable<int> Cores 702 { 703 get 704 { 705 return this.CoresField; 706 } 707 set 708 { 709 if ((this.CoresField.Equals(value) != true)) 710 { 711 this.CoresField = value; 712 this.RaisePropertyChanged("Cores"); 713 } 714 } 715 } 716 717 [System.Runtime.Serialization.DataMemberAttribute()] 718 public HeuristicLab.Clients.Hive.CpuArchitecture CpuArchitecture 719 { 720 get 721 { 722 return this.CpuArchitectureField; 723 } 724 set 725 { 726 if ((this.CpuArchitectureField.Equals(value) != true)) 727 { 728 this.CpuArchitectureField = value; 729 this.RaisePropertyChanged("CpuArchitecture"); 730 } 731 } 732 } 733 734 [System.Runtime.Serialization.DataMemberAttribute()] 735 public System.Nullable<int> CpuSpeed 736 { 737 get 738 { 739 return this.CpuSpeedField; 740 } 741 set 742 { 743 if ((this.CpuSpeedField.Equals(value) != true)) 744 { 745 this.CpuSpeedField = value; 746 this.RaisePropertyChanged("CpuSpeed"); 747 } 748 } 749 } 750 751 [System.Runtime.Serialization.DataMemberAttribute()] 752 public System.Nullable<int> FreeCores 753 { 754 get 755 { 756 return this.FreeCoresField; 757 } 758 set 759 { 760 if ((this.FreeCoresField.Equals(value) != true)) 761 { 762 this.FreeCoresField = value; 763 this.RaisePropertyChanged("FreeCores"); 764 } 765 } 766 } 767 768 [System.Runtime.Serialization.DataMemberAttribute()] 769 public System.Nullable<int> FreeMemory 770 { 771 get 772 { 773 return this.FreeMemoryField; 774 } 775 set 776 { 777 if ((this.FreeMemoryField.Equals(value) != true)) 778 { 779 this.FreeMemoryField = value; 780 this.RaisePropertyChanged("FreeMemory"); 781 } 782 } 783 } 784 785 [System.Runtime.Serialization.DataMemberAttribute()] 786 public bool IsAllowedToCalculate 787 { 788 get 789 { 790 return this.IsAllowedToCalculateField; 791 } 792 set 793 { 794 if ((this.IsAllowedToCalculateField.Equals(value) != true)) 795 { 796 this.IsAllowedToCalculateField = value; 797 this.RaisePropertyChanged("IsAllowedToCalculate"); 798 } 799 } 800 } 801 802 [System.Runtime.Serialization.DataMemberAttribute()] 803 public System.Nullable<System.DateTime> LastHeartbeat 804 { 805 get 806 { 807 return this.LastHeartbeatField; 808 } 809 set 810 { 811 if ((this.LastHeartbeatField.Equals(value) != true)) 812 { 813 this.LastHeartbeatField = value; 814 this.RaisePropertyChanged("LastHeartbeat"); 815 } 816 } 817 } 818 819 [System.Runtime.Serialization.DataMemberAttribute()] 820 public System.Nullable<int> Memory 821 { 822 get 823 { 824 return this.MemoryField; 825 } 826 set 827 { 828 if ((this.MemoryField.Equals(value) != true)) 829 { 830 this.MemoryField = value; 831 this.RaisePropertyChanged("Memory"); 832 } 833 } 834 } 835 836 [System.Runtime.Serialization.DataMemberAttribute()] 837 public string OperatingSystem 838 { 839 get 840 { 841 return this.OperatingSystemField; 842 } 843 set 844 { 845 if ((object.ReferenceEquals(this.OperatingSystemField, value) != true)) 846 { 847 this.OperatingSystemField = value; 848 this.RaisePropertyChanged("OperatingSystem"); 849 } 850 } 851 } 852 853 [System.Runtime.Serialization.DataMemberAttribute()] 854 public HeuristicLab.Clients.Hive.SlaveState SlaveState 855 { 856 get 857 { 858 return this.SlaveStateField; 859 } 860 set 861 { 862 if ((this.SlaveStateField.Equals(value) != true)) 863 { 864 this.SlaveStateField = value; 865 this.RaisePropertyChanged("SlaveState"); 866 } 867 } 868 } 869 } 870 871 [System.Diagnostics.DebuggerStepThroughAttribute()] 872 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 873 [System.Runtime.Serialization.DataContractAttribute(Name="SlaveGroup", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 874 "nsfer")] 875 [System.SerializableAttribute()] 876 public partial class SlaveGroup : HeuristicLab.Clients.Hive.Resource 877 { 878 } 879 880 [System.Diagnostics.DebuggerStepThroughAttribute()] 881 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 882 [System.Runtime.Serialization.DataContractAttribute(Name="Plugin", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 883 "nsfer")] 884 [System.SerializableAttribute()] 885 public partial class Plugin : HeuristicLab.Clients.Hive.NamedHiveItem 886 { 887 888 [System.Runtime.Serialization.OptionalFieldAttribute()] 889 private System.DateTime DateCreatedField; 890 891 [System.Runtime.Serialization.OptionalFieldAttribute()] 892 private bool IsLocalField; 893 894 [System.Runtime.Serialization.OptionalFieldAttribute()] 895 private System.Guid UserIdField; 896 897 [System.Runtime.Serialization.OptionalFieldAttribute()] 898 private System.Version VersionField; 899 900 [System.Runtime.Serialization.DataMemberAttribute()] 901 public System.DateTime DateCreated 902 { 903 get 904 { 905 return this.DateCreatedField; 906 } 907 set 908 { 909 if ((this.DateCreatedField.Equals(value) != true)) 910 { 911 this.DateCreatedField = value; 912 this.RaisePropertyChanged("DateCreated"); 913 } 914 } 915 } 916 917 [System.Runtime.Serialization.DataMemberAttribute()] 918 public bool IsLocal 919 { 920 get 921 { 922 return this.IsLocalField; 923 } 924 set 925 { 926 if ((this.IsLocalField.Equals(value) != true)) 927 { 928 this.IsLocalField = value; 929 this.RaisePropertyChanged("IsLocal"); 930 } 931 } 932 } 933 934 [System.Runtime.Serialization.DataMemberAttribute()] 935 public System.Guid UserId 936 { 937 get 938 { 939 return this.UserIdField; 940 } 941 set 942 { 943 if ((this.UserIdField.Equals(value) != true)) 944 { 945 this.UserIdField = value; 946 this.RaisePropertyChanged("UserId"); 947 } 948 } 949 } 950 951 [System.Runtime.Serialization.DataMemberAttribute()] 952 public System.Version Version 953 { 954 get 955 { 956 return this.VersionField; 957 } 958 set 959 { 960 if ((object.ReferenceEquals(this.VersionField, value) != true)) 961 { 962 this.VersionField = value; 963 this.RaisePropertyChanged("Version"); 964 } 965 } 966 } 967 } 968 969 [System.Diagnostics.DebuggerStepThroughAttribute()] 970 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 971 [System.Runtime.Serialization.DataContractAttribute(Name="PluginData", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 972 "nsfer")] 973 [System.SerializableAttribute()] 974 public partial class PluginData : HeuristicLab.Clients.Hive.HiveItem 975 { 976 977 [System.Runtime.Serialization.OptionalFieldAttribute()] 978 private byte[] DataField; 979 980 [System.Runtime.Serialization.OptionalFieldAttribute()] 981 private string FileNameField; 982 983 [System.Runtime.Serialization.OptionalFieldAttribute()] 984 private System.Guid PluginIdField; 985 986 [System.Runtime.Serialization.DataMemberAttribute()] 987 public byte[] Data 988 { 989 get 990 { 991 return this.DataField; 992 } 993 set 994 { 995 if ((object.ReferenceEquals(this.DataField, value) != true)) 996 { 997 this.DataField = value; 998 this.RaisePropertyChanged("Data"); 999 } 1000 } 1001 } 1002 1003 [System.Runtime.Serialization.DataMemberAttribute()] 1004 public string FileName 1005 { 1006 get 1007 { 1008 return this.FileNameField; 1009 } 1010 set 1011 { 1012 if ((object.ReferenceEquals(this.FileNameField, value) != true)) 1013 { 1014 this.FileNameField = value; 1015 this.RaisePropertyChanged("FileName"); 1016 } 1017 } 1018 } 1019 1020 [System.Runtime.Serialization.DataMemberAttribute()] 1021 public System.Guid PluginId 1022 { 1023 get 1024 { 1025 return this.PluginIdField; 1026 } 1027 set 1028 { 1029 if ((this.PluginIdField.Equals(value) != true)) 1030 { 1031 this.PluginIdField = value; 1032 this.RaisePropertyChanged("PluginId"); 1033 } 1034 } 1035 } 1036 } 1037 1038 [System.Diagnostics.DebuggerStepThroughAttribute()] 1039 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1040 [System.Runtime.Serialization.DataContractAttribute(Name="Appointment", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 1041 "nsfer")] 1042 [System.SerializableAttribute()] 1043 public partial class Appointment : HeuristicLab.Clients.Hive.HiveItem 1044 { 1045 1046 [System.Runtime.Serialization.OptionalFieldAttribute()] 1047 private bool AllDayEventField; 1048 1049 [System.Runtime.Serialization.OptionalFieldAttribute()] 1050 private System.DateTime EndDateField; 1051 1052 [System.Runtime.Serialization.OptionalFieldAttribute()] 1053 private bool RecurringField; 1054 1055 [System.Runtime.Serialization.OptionalFieldAttribute()] 1056 private System.Guid RecurringIdField; 1057 1058 [System.Runtime.Serialization.OptionalFieldAttribute()] 1059 private System.Guid ResourceIdField; 1060 1061 [System.Runtime.Serialization.OptionalFieldAttribute()] 1062 private System.DateTime StartDateField; 1063 1064 [System.Runtime.Serialization.DataMemberAttribute()] 1065 public bool AllDayEvent 1066 { 1067 get 1068 { 1069 return this.AllDayEventField; 1070 } 1071 set 1072 { 1073 if ((this.AllDayEventField.Equals(value) != true)) 1074 { 1075 this.AllDayEventField = value; 1076 this.RaisePropertyChanged("AllDayEvent"); 1077 } 1078 } 1079 } 1080 1081 [System.Runtime.Serialization.DataMemberAttribute()] 1082 public System.DateTime EndDate 1083 { 1084 get 1085 { 1086 return this.EndDateField; 1087 } 1088 set 1089 { 1090 if ((this.EndDateField.Equals(value) != true)) 1091 { 1092 this.EndDateField = value; 1093 this.RaisePropertyChanged("EndDate"); 1094 } 1095 } 1096 } 1097 1098 [System.Runtime.Serialization.DataMemberAttribute()] 1099 public bool Recurring 1100 { 1101 get 1102 { 1103 return this.RecurringField; 1104 } 1105 set 1106 { 1107 if ((this.RecurringField.Equals(value) != true)) 1108 { 1109 this.RecurringField = value; 1110 this.RaisePropertyChanged("Recurring"); 1111 } 1112 } 1113 } 1114 1115 [System.Runtime.Serialization.DataMemberAttribute()] 1116 public System.Guid RecurringId 1117 { 1118 get 1119 { 1120 return this.RecurringIdField; 1121 } 1122 set 1123 { 1124 if ((this.RecurringIdField.Equals(value) != true)) 1125 { 1126 this.RecurringIdField = value; 1127 this.RaisePropertyChanged("RecurringId"); 1128 } 1129 } 1130 } 1131 1132 [System.Runtime.Serialization.DataMemberAttribute()] 1133 public System.Guid ResourceId 1134 { 1135 get 1136 { 1137 return this.ResourceIdField; 1138 } 1139 set 1140 { 1141 if ((this.ResourceIdField.Equals(value) != true)) 1142 { 1143 this.ResourceIdField = value; 1144 this.RaisePropertyChanged("ResourceId"); 1145 } 1146 } 1147 } 1148 1149 [System.Runtime.Serialization.DataMemberAttribute()] 1150 public System.DateTime StartDate 1151 { 1152 get 1153 { 1154 return this.StartDateField; 1155 } 1156 set 1157 { 1158 if ((this.StartDateField.Equals(value) != true)) 1159 { 1160 this.StartDateField = value; 1161 this.RaisePropertyChanged("StartDate"); 1162 } 1163 } 1164 } 1165 } 1166 1167 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1168 [System.Runtime.Serialization.DataContractAttribute(Name="Command", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 1169 "nsfer")] 1170 public enum Command : int 1171 { 1172 1173 [System.Runtime.Serialization.EnumMemberAttribute()] 1174 Stop = 0, 1175 1176 [System.Runtime.Serialization.EnumMemberAttribute()] 1177 Abort = 1, 1178 1179 [System.Runtime.Serialization.EnumMemberAttribute()] 1180 Pause = 2, 1181 } 1182 1183 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1184 [System.Runtime.Serialization.DataContractAttribute(Name="JobState", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 1185 "nsfer")] 1186 public enum JobState : int 1187 { 1188 1189 [System.Runtime.Serialization.EnumMemberAttribute()] 1190 Offline = 0, 1191 1192 [System.Runtime.Serialization.EnumMemberAttribute()] 1193 Waiting = 1, 1194 1195 [System.Runtime.Serialization.EnumMemberAttribute()] 1196 Transferring = 2, 1197 1198 [System.Runtime.Serialization.EnumMemberAttribute()] 1199 Calculating = 3, 1200 1201 [System.Runtime.Serialization.EnumMemberAttribute()] 1202 Paused = 4, 1203 1204 [System.Runtime.Serialization.EnumMemberAttribute()] 1205 Finished = 5, 1206 1207 [System.Runtime.Serialization.EnumMemberAttribute()] 1208 Aborted = 6, 1209 1210 [System.Runtime.Serialization.EnumMemberAttribute()] 1211 Failed = 7, 1212 } 1213 1214 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1215 [System.Runtime.Serialization.DataContractAttribute(Name="CpuArchitecture", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 1216 "nsfer")] 1217 public enum CpuArchitecture : int 1218 { 1219 1220 [System.Runtime.Serialization.EnumMemberAttribute()] 1221 x86 = 0, 1222 1223 [System.Runtime.Serialization.EnumMemberAttribute()] 1224 x64 = 1, 1225 } 1226 1227 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1228 [System.Runtime.Serialization.DataContractAttribute(Name="SlaveState", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 1229 "nsfer")] 1230 public enum SlaveState : int 1231 { 1232 1233 [System.Runtime.Serialization.EnumMemberAttribute()] 1234 Idle = 0, 1235 1236 [System.Runtime.Serialization.EnumMemberAttribute()] 1237 Calculating = 1, 1238 1239 [System.Runtime.Serialization.EnumMemberAttribute()] 1240 Offline = 2, 1241 } 1242 1243 [System.Diagnostics.DebuggerStepThroughAttribute()] 1244 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1245 [System.Runtime.Serialization.DataContractAttribute(Name="JobData", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 1246 "nsfer")] 1247 [System.SerializableAttribute()] 1248 public partial class JobData : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged 1249 { 1250 1251 [System.NonSerializedAttribute()] 1252 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 1253 1254 [System.Runtime.Serialization.OptionalFieldAttribute()] 1255 private byte[] DataField; 1256 1257 [System.Runtime.Serialization.OptionalFieldAttribute()] 1258 private System.Guid JobIdField; 1259 1260 [System.Runtime.Serialization.OptionalFieldAttribute()] 1261 private System.DateTime LastUpdateField; 1262 1263 public System.Runtime.Serialization.ExtensionDataObject ExtensionData 1264 { 1265 get 1266 { 1267 return this.extensionDataField; 1268 } 1269 set 1270 { 1271 this.extensionDataField = value; 1272 } 1273 } 1274 1275 [System.Runtime.Serialization.DataMemberAttribute()] 1276 public byte[] Data 1277 { 1278 get 1279 { 1280 return this.DataField; 1281 } 1282 set 1283 { 1284 if ((object.ReferenceEquals(this.DataField, value) != true)) 1285 { 1286 this.DataField = value; 1287 this.RaisePropertyChanged("Data"); 1288 } 1289 } 1290 } 1291 1292 [System.Runtime.Serialization.DataMemberAttribute()] 1293 public System.Guid JobId 1294 { 1295 get 1296 { 1297 return this.JobIdField; 1298 } 1299 set 1300 { 1301 if ((this.JobIdField.Equals(value) != true)) 1302 { 1303 this.JobIdField = value; 1304 this.RaisePropertyChanged("JobId"); 1305 } 1306 } 1307 } 1308 1309 [System.Runtime.Serialization.DataMemberAttribute()] 1310 public System.DateTime LastUpdate 1311 { 1312 get 1313 { 1314 return this.LastUpdateField; 1315 } 1316 set 1317 { 1318 if ((this.LastUpdateField.Equals(value) != true)) 1319 { 1320 this.LastUpdateField = value; 1321 this.RaisePropertyChanged("LastUpdate"); 1322 } 1323 } 1324 } 1325 1326 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 1327 1328 protected void RaisePropertyChanged(string propertyName) 1329 { 1330 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 1331 if ((propertyChanged != null)) 1332 { 1333 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 1334 } 1335 } 1336 } 1337 1338 [System.Diagnostics.DebuggerStepThroughAttribute()] 1339 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1340 [System.Runtime.Serialization.DataContractAttribute(Name="Heartbeat", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 1341 "nsfer")] 1342 [System.SerializableAttribute()] 1343 public partial class Heartbeat : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged 1344 { 1345 1346 [System.NonSerializedAttribute()] 1347 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 1348 1349 [System.Runtime.Serialization.OptionalFieldAttribute()] 1350 private bool AssignJobField; 1351 1352 [System.Runtime.Serialization.OptionalFieldAttribute()] 1353 private int FreeCoresField; 1354 1355 [System.Runtime.Serialization.OptionalFieldAttribute()] 1356 private int FreeMemoryField; 1357 1358 [System.Runtime.Serialization.OptionalFieldAttribute()] 1359 private System.Collections.Generic.Dictionary<System.Guid, System.TimeSpan> JobProgressField; 1360 1361 [System.Runtime.Serialization.OptionalFieldAttribute()] 1362 private System.Guid SlaveIdField; 1363 1364 public System.Runtime.Serialization.ExtensionDataObject ExtensionData 1365 { 1366 get 1367 { 1368 return this.extensionDataField; 1369 } 1370 set 1371 { 1372 this.extensionDataField = value; 1373 } 1374 } 1375 1376 [System.Runtime.Serialization.DataMemberAttribute()] 1377 public bool AssignJob 1378 { 1379 get 1380 { 1381 return this.AssignJobField; 1382 } 1383 set 1384 { 1385 if ((this.AssignJobField.Equals(value) != true)) 1386 { 1387 this.AssignJobField = value; 1388 this.RaisePropertyChanged("AssignJob"); 1389 } 1390 } 1391 } 1392 1393 [System.Runtime.Serialization.DataMemberAttribute()] 1394 public int FreeCores 1395 { 1396 get 1397 { 1398 return this.FreeCoresField; 1399 } 1400 set 1401 { 1402 if ((this.FreeCoresField.Equals(value) != true)) 1403 { 1404 this.FreeCoresField = value; 1405 this.RaisePropertyChanged("FreeCores"); 1406 } 1407 } 1408 } 1409 1410 [System.Runtime.Serialization.DataMemberAttribute()] 1411 public int FreeMemory 1412 { 1413 get 1414 { 1415 return this.FreeMemoryField; 1416 } 1417 set 1418 { 1419 if ((this.FreeMemoryField.Equals(value) != true)) 1420 { 1421 this.FreeMemoryField = value; 1422 this.RaisePropertyChanged("FreeMemory"); 1423 } 1424 } 1425 } 1426 1427 [System.Runtime.Serialization.DataMemberAttribute()] 1428 public System.Collections.Generic.Dictionary<System.Guid, System.TimeSpan> JobProgress 1429 { 1430 get 1431 { 1432 return this.JobProgressField; 1433 } 1434 set 1435 { 1436 if ((object.ReferenceEquals(this.JobProgressField, value) != true)) 1437 { 1438 this.JobProgressField = value; 1439 this.RaisePropertyChanged("JobProgress"); 1440 } 1441 } 1442 } 1443 1444 [System.Runtime.Serialization.DataMemberAttribute()] 1445 public System.Guid SlaveId 1446 { 1447 get 1448 { 1449 return this.SlaveIdField; 1450 } 1451 set 1452 { 1453 if ((this.SlaveIdField.Equals(value) != true)) 1454 { 1455 this.SlaveIdField = value; 1456 this.RaisePropertyChanged("SlaveId"); 1457 } 1458 } 1459 } 1460 1461 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 1462 1463 protected void RaisePropertyChanged(string propertyName) 1464 { 1465 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 1466 if ((propertyChanged != null)) 1467 { 1468 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 1469 } 1470 } 1471 } 1472 1473 [System.Diagnostics.DebuggerStepThroughAttribute()] 1474 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1475 [System.Runtime.Serialization.DataContractAttribute(Name="MessageContainer", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common")] 1476 [System.SerializableAttribute()] 1477 public partial class MessageContainer : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged 1478 { 1479 1480 [System.NonSerializedAttribute()] 1481 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 1482 1483 [System.Runtime.Serialization.OptionalFieldAttribute()] 1484 private System.Guid JobIdField; 1485 1486 [System.Runtime.Serialization.OptionalFieldAttribute()] 1487 private HeuristicLab.Clients.Hive.MessageContainer.MessageType MessageField; 1488 1489 public System.Runtime.Serialization.ExtensionDataObject ExtensionData 1490 { 1491 get 1492 { 1493 return this.extensionDataField; 1494 } 1495 set 1496 { 1497 this.extensionDataField = value; 1498 } 1499 } 1500 1501 [System.Runtime.Serialization.DataMemberAttribute()] 1502 public System.Guid JobId 1503 { 1504 get 1505 { 1506 return this.JobIdField; 1507 } 1508 set 1509 { 1510 if ((this.JobIdField.Equals(value) != true)) 1511 { 1512 this.JobIdField = value; 1513 this.RaisePropertyChanged("JobId"); 1514 } 1515 } 1516 } 1517 1518 [System.Runtime.Serialization.DataMemberAttribute()] 1519 public HeuristicLab.Clients.Hive.MessageContainer.MessageType Message 1520 { 1521 get 1522 { 1523 return this.MessageField; 1524 } 1525 set 1526 { 1527 if ((this.MessageField.Equals(value) != true)) 1528 { 1529 this.MessageField = value; 1530 this.RaisePropertyChanged("Message"); 1531 } 1532 } 1533 } 1534 1535 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 1536 1537 protected void RaisePropertyChanged(string propertyName) 1538 { 1539 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 1540 if ((propertyChanged != null)) 1541 { 1542 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 1543 } 1544 } 1545 1546 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1547 [System.Runtime.Serialization.DataContractAttribute(Name="MessageContainer.MessageType", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common")] 1548 public enum MessageType : int 1549 { 1550 1551 [System.Runtime.Serialization.EnumMemberAttribute()] 1552 CalculateJob = 0, 1553 1554 [System.Runtime.Serialization.EnumMemberAttribute()] 1555 StopJob = 1, 1556 1557 [System.Runtime.Serialization.EnumMemberAttribute()] 1558 StopAll = 2, 1559 1560 [System.Runtime.Serialization.EnumMemberAttribute()] 1561 AbortJob = 3, 1562 1563 [System.Runtime.Serialization.EnumMemberAttribute()] 1564 AbortAll = 4, 1565 1566 [System.Runtime.Serialization.EnumMemberAttribute()] 1567 PauseJob = 5, 1568 1569 [System.Runtime.Serialization.EnumMemberAttribute()] 1570 PauseAll = 6, 1571 1572 [System.Runtime.Serialization.EnumMemberAttribute()] 1573 Restart = 7, 1574 1575 [System.Runtime.Serialization.EnumMemberAttribute()] 1576 Sleep = 8, 1577 1578 [System.Runtime.Serialization.EnumMemberAttribute()] 1579 ShutdownSlave = 9, 1580 1581 [System.Runtime.Serialization.EnumMemberAttribute()] 1582 SayHello = 10, 1583 1584 [System.Runtime.Serialization.EnumMemberAttribute()] 1585 AddChildJob = 11, 1586 1587 [System.Runtime.Serialization.EnumMemberAttribute()] 1588 GetChildJobs = 12, 1589 1590 [System.Runtime.Serialization.EnumMemberAttribute()] 1591 DeleteChildJobs = 13, 1592 } 1593 } 1594 1595 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] 1596 [System.ServiceModel.ServiceContractAttribute(ConfigurationName="HeuristicLab.Clients.Hive.IHiveService")] 1597 public interface IHiveService 1598 { 1599 1600 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/DeleteAppointment", ReplyAction="http://tempuri.org/IHiveService/DeleteAppointmentResponse")] 1601 void DeleteAppointment(System.Guid appointmentId); 1602 1603 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/UpdateAppointment", ReplyAction="http://tempuri.org/IHiveService/UpdateAppointmentResponse")] 1604 void UpdateAppointment(HeuristicLab.Clients.Hive.Appointment appointment); 1605 1606 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetScheduleForResource", ReplyAction="http://tempuri.org/IHiveService/GetScheduleForResourceResponse")] 1607 System.Collections.Generic.List<HeuristicLab.Clients.Hive.Appointment> GetScheduleForResource(System.Guid resourceId); 1608 1609 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/AddJob", ReplyAction="http://tempuri.org/IHiveService/AddJobResponse")] 1610 System.Guid AddJob(HeuristicLab.Clients.Hive.Job job, HeuristicLab.Clients.Hive.JobData jobData, System.Collections.Generic.List<System.Guid> resourceIds); 1611 1612 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/AddChildJob", ReplyAction="http://tempuri.org/IHiveService/AddChildJobResponse")] 1613 System.Guid AddChildJob(System.Guid parentJobId, HeuristicLab.Clients.Hive.Job job, HeuristicLab.Clients.Hive.JobData jobData); 1614 1615 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetJob", ReplyAction="http://tempuri.org/IHiveService/GetJobResponse")] 1616 HeuristicLab.Clients.Hive.Job GetJob(System.Guid jobId); 1617 1618 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetJobs", ReplyAction="http://tempuri.org/IHiveService/GetJobsResponse")] 1619 System.Collections.Generic.List<HeuristicLab.Clients.Hive.Job> GetJobs(); 1620 1621 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetLightweightJobs", ReplyAction="http://tempuri.org/IHiveService/GetLightweightJobsResponse")] 1622 System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightJob> GetLightweightJobs(System.Collections.Generic.List<System.Guid> jobIds); 1623 1624 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetLightweightChildJobs", ReplyAction="http://tempuri.org/IHiveService/GetLightweightChildJobsResponse")] 1625 System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightJob> GetLightweightChildJobs(System.Nullable<System.Guid> parentJobId, bool recursive, bool includeParent); 1626 1627 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetJobData", ReplyAction="http://tempuri.org/IHiveService/GetJobDataResponse")] 1628 HeuristicLab.Clients.Hive.JobData GetJobData(System.Guid jobId); 1629 1630 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/UpdateJob", ReplyAction="http://tempuri.org/IHiveService/UpdateJobResponse")] 1631 void UpdateJob(HeuristicLab.Clients.Hive.Job jobDto); 1632 1633 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/UpdateJobData", ReplyAction="http://tempuri.org/IHiveService/UpdateJobDataResponse")] 1634 void UpdateJobData(HeuristicLab.Clients.Hive.Job jobDto, HeuristicLab.Clients.Hive.JobData jobDataDto); 1635 1636 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/DeleteJob", ReplyAction="http://tempuri.org/IHiveService/DeleteJobResponse")] 1637 void DeleteJob(System.Guid jobId); 1638 1639 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/DeleteChildJobs", ReplyAction="http://tempuri.org/IHiveService/DeleteChildJobsResponse")] 1640 void DeleteChildJobs(System.Guid parentJobId); 1641 1642 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/UpdateJobState", ReplyAction="http://tempuri.org/IHiveService/UpdateJobStateResponse")] 1643 HeuristicLab.Clients.Hive.Job UpdateJobState(System.Guid jobId, HeuristicLab.Clients.Hive.JobState jobState, System.Nullable<System.Guid> slaveId, System.Nullable<System.Guid> userId, string exception); 1644 1645 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/StopJob", ReplyAction="http://tempuri.org/IHiveService/StopJobResponse")] 1646 void StopJob(System.Guid jobId); 1647 1648 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/PauseJob", ReplyAction="http://tempuri.org/IHiveService/PauseJobResponse")] 1649 void PauseJob(System.Guid jobId); 1650 1651 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/RestartJob", ReplyAction="http://tempuri.org/IHiveService/RestartJobResponse")] 1652 void RestartJob(System.Guid jobId); 1653 1654 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetHiveExperiment", ReplyAction="http://tempuri.org/IHiveService/GetHiveExperimentResponse")] 1655 HeuristicLab.Clients.Hive.HiveExperiment GetHiveExperiment(System.Guid id); 1656 1657 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetHiveExperiments", ReplyAction="http://tempuri.org/IHiveService/GetHiveExperimentsResponse")] 1658 System.Collections.Generic.List<HeuristicLab.Clients.Hive.HiveExperiment> GetHiveExperiments(); 1659 1660 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetAllHiveExperiments", ReplyAction="http://tempuri.org/IHiveService/GetAllHiveExperimentsResponse")] 1661 System.Collections.Generic.List<HeuristicLab.Clients.Hive.HiveExperiment> GetAllHiveExperiments(); 1662 1663 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/AddHiveExperiment", ReplyAction="http://tempuri.org/IHiveService/AddHiveExperimentResponse")] 1664 System.Guid AddHiveExperiment(HeuristicLab.Clients.Hive.HiveExperiment hiveExperimentDto); 1665 1666 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/UpdateHiveExperiment", ReplyAction="http://tempuri.org/IHiveService/UpdateHiveExperimentResponse")] 1667 void UpdateHiveExperiment(HeuristicLab.Clients.Hive.HiveExperiment hiveExperimentDto); 1668 1669 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/DeleteHiveExperiment", ReplyAction="http://tempuri.org/IHiveService/DeleteHiveExperimentResponse")] 1670 void DeleteHiveExperiment(System.Guid hiveExperimentId); 1671 1672 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/Hello", ReplyAction="http://tempuri.org/IHiveService/HelloResponse")] 1673 void Hello(HeuristicLab.Clients.Hive.Slave slave); 1674 1675 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GoodBye", ReplyAction="http://tempuri.org/IHiveService/GoodByeResponse")] 1676 void GoodBye(System.Guid slaveId); 1677 1678 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/Heartbeat", ReplyAction="http://tempuri.org/IHiveService/HeartbeatResponse")] 1679 System.Collections.Generic.List<HeuristicLab.Clients.Hive.MessageContainer> Heartbeat([System.ServiceModel.MessageParameterAttribute(Name="heartbeat")] HeuristicLab.Clients.Hive.Heartbeat heartbeat1); 1680 1681 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/AddPlugin", ReplyAction="http://tempuri.org/IHiveService/AddPluginResponse")] 1682 System.Guid AddPlugin(HeuristicLab.Clients.Hive.Plugin plugin, System.Collections.Generic.List<HeuristicLab.Clients.Hive.PluginData> pluginData); 1683 1684 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetPlugins", ReplyAction="http://tempuri.org/IHiveService/GetPluginsResponse")] 1685 System.Collections.Generic.List<HeuristicLab.Clients.Hive.Plugin> GetPlugins(); 1686 1687 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetPluginDatas", ReplyAction="http://tempuri.org/IHiveService/GetPluginDatasResponse")] 1688 System.Collections.Generic.List<HeuristicLab.Clients.Hive.PluginData> GetPluginDatas(System.Collections.Generic.List<System.Guid> pluginIds); 1689 1690 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/AddSlave", ReplyAction="http://tempuri.org/IHiveService/AddSlaveResponse")] 1691 System.Guid AddSlave(HeuristicLab.Clients.Hive.Slave slave); 1692 1693 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/AddSlaveGroup", ReplyAction="http://tempuri.org/IHiveService/AddSlaveGroupResponse")] 1694 System.Guid AddSlaveGroup(HeuristicLab.Clients.Hive.SlaveGroup slaveGroup); 1695 1696 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetSlave", ReplyAction="http://tempuri.org/IHiveService/GetSlaveResponse")] 1697 HeuristicLab.Clients.Hive.Slave GetSlave(System.Guid slaveId); 1698 1699 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetSlaveGroup", ReplyAction="http://tempuri.org/IHiveService/GetSlaveGroupResponse")] 1700 HeuristicLab.Clients.Hive.SlaveGroup GetSlaveGroup(System.Guid slaveGroupId); 1701 1702 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetSlaves", ReplyAction="http://tempuri.org/IHiveService/GetSlavesResponse")] 1703 System.Collections.Generic.List<HeuristicLab.Clients.Hive.Slave> GetSlaves(); 1704 1705 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetSlaveGroups", ReplyAction="http://tempuri.org/IHiveService/GetSlaveGroupsResponse")] 1706 System.Collections.Generic.List<HeuristicLab.Clients.Hive.SlaveGroup> GetSlaveGroups(); 1707 1708 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/UpdateSlave", ReplyAction="http://tempuri.org/IHiveService/UpdateSlaveResponse")] 1709 void UpdateSlave(HeuristicLab.Clients.Hive.Slave slave); 1710 1711 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/UpdateSlaveGroup", ReplyAction="http://tempuri.org/IHiveService/UpdateSlaveGroupResponse")] 1712 void UpdateSlaveGroup(HeuristicLab.Clients.Hive.SlaveGroup slaveGroup); 1713 1714 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/DeleteSlave", ReplyAction="http://tempuri.org/IHiveService/DeleteSlaveResponse")] 1715 void DeleteSlave(System.Guid slaveId); 1716 1717 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/DeleteSlaveGroup", ReplyAction="http://tempuri.org/IHiveService/DeleteSlaveGroupResponse")] 1718 void DeleteSlaveGroup(System.Guid slaveGroupId); 1719 1720 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/AddResourceToGroup", ReplyAction="http://tempuri.org/IHiveService/AddResourceToGroupResponse")] 1721 void AddResourceToGroup(System.Guid slaveGroupId, System.Guid resourceId); 1722 1723 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/RemoveResourceFromGroup", ReplyAction="http://tempuri.org/IHiveService/RemoveResourceFromGroupResponse")] 1724 void RemoveResourceFromGroup(System.Guid slaveGroupId, System.Guid resourceId); 1725 1726 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetResourceId", ReplyAction="http://tempuri.org/IHiveService/GetResourceIdResponse")] 1727 System.Guid GetResourceId(string resourceName); 1728 1729 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/TriggerLifecycle", ReplyAction="http://tempuri.org/IHiveService/TriggerLifecycleResponse")] 1730 void TriggerLifecycle(bool force); 1731 1732 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/AddAppointment", ReplyAction="http://tempuri.org/IHiveService/AddAppointmentResponse")] 1733 System.Guid AddAppointment(HeuristicLab.Clients.Hive.Appointment appointment); 1734 } 1735 1736 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] 1737 public interface IHiveServiceChannel : HeuristicLab.Clients.Hive.IHiveService, System.ServiceModel.IClientChannel 1738 { 1739 } 1740 1741 [System.Diagnostics.DebuggerStepThroughAttribute()] 1742 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] 1743 public partial class HiveServiceClient : System.ServiceModel.ClientBase<HeuristicLab.Clients.Hive.IHiveService>, HeuristicLab.Clients.Hive.IHiveService 1744 { 1745 1746 public HiveServiceClient() 1747 { 1748 } 1749 1750 public HiveServiceClient(string endpointConfigurationName) : 1751 base(endpointConfigurationName) 1752 { 1753 } 1754 1755 public HiveServiceClient(string endpointConfigurationName, string remoteAddress) : 1756 base(endpointConfigurationName, remoteAddress) 1757 { 1758 } 1759 1760 public HiveServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 1761 base(endpointConfigurationName, remoteAddress) 1762 { 1763 } 1764 1765 public HiveServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 1766 base(binding, remoteAddress) 1767 { 1768 } 1769 1770 public void DeleteAppointment(System.Guid appointmentId) 1771 { 1772 base.Channel.DeleteAppointment(appointmentId); 1773 } 1774 1775 public void UpdateAppointment(HeuristicLab.Clients.Hive.Appointment appointment) 1776 { 1777 base.Channel.UpdateAppointment(appointment); 1778 } 1779 1780 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Appointment> GetScheduleForResource(System.Guid resourceId) 1781 { 1782 return base.Channel.GetScheduleForResource(resourceId); 1783 } 1784 1785 public System.Guid AddJob(HeuristicLab.Clients.Hive.Job job, HeuristicLab.Clients.Hive.JobData jobData, System.Collections.Generic.List<System.Guid> resourceIds) 1786 { 1787 return base.Channel.AddJob(job, jobData, resourceIds); 1788 } 1789 1790 public System.Guid AddChildJob(System.Guid parentJobId, HeuristicLab.Clients.Hive.Job job, HeuristicLab.Clients.Hive.JobData jobData) 1791 { 1792 return base.Channel.AddChildJob(parentJobId, job, jobData); 1793 } 1794 1795 public HeuristicLab.Clients.Hive.Job GetJob(System.Guid jobId) 1796 { 1797 return base.Channel.GetJob(jobId); 1798 } 1799 1800 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Job> GetJobs() 1801 { 1802 return base.Channel.GetJobs(); 1803 } 1804 1805 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightJob> GetLightweightJobs(System.Collections.Generic.List<System.Guid> jobIds) 1806 { 1807 return base.Channel.GetLightweightJobs(jobIds); 1808 } 1809 1810 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightJob> GetLightweightChildJobs(System.Nullable<System.Guid> parentJobId, bool recursive, bool includeParent) 1811 { 1812 return base.Channel.GetLightweightChildJobs(parentJobId, recursive, includeParent); 1813 } 1814 1815 public HeuristicLab.Clients.Hive.JobData GetJobData(System.Guid jobId) 1816 { 1817 return base.Channel.GetJobData(jobId); 1818 } 1819 1820 public void UpdateJob(HeuristicLab.Clients.Hive.Job jobDto) 1821 { 1822 base.Channel.UpdateJob(jobDto); 1823 } 1824 1825 public void UpdateJobData(HeuristicLab.Clients.Hive.Job jobDto, HeuristicLab.Clients.Hive.JobData jobDataDto) 1826 { 1827 base.Channel.UpdateJobData(jobDto, jobDataDto); 1828 } 1829 1830 public void DeleteJob(System.Guid jobId) 1831 { 1832 base.Channel.DeleteJob(jobId); 1833 } 1834 1835 public void DeleteChildJobs(System.Guid parentJobId) 1836 { 1837 base.Channel.DeleteChildJobs(parentJobId); 1838 } 1839 1840 public HeuristicLab.Clients.Hive.Job UpdateJobState(System.Guid jobId, HeuristicLab.Clients.Hive.JobState jobState, System.Nullable<System.Guid> slaveId, System.Nullable<System.Guid> userId, string exception) 1841 { 1842 return base.Channel.UpdateJobState(jobId, jobState, slaveId, userId, exception); 1843 } 1844 1845 public void StopJob(System.Guid jobId) 1846 { 1847 base.Channel.StopJob(jobId); 1848 } 1849 1850 public void PauseJob(System.Guid jobId) 1851 { 1852 base.Channel.PauseJob(jobId); 1853 } 1854 1855 public void RestartJob(System.Guid jobId) 1856 { 1857 base.Channel.RestartJob(jobId); 1858 } 1859 1860 public HeuristicLab.Clients.Hive.HiveExperiment GetHiveExperiment(System.Guid id) 1861 { 1862 return base.Channel.GetHiveExperiment(id); 1863 } 1864 1865 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.HiveExperiment> GetHiveExperiments() 1866 { 1867 return base.Channel.GetHiveExperiments(); 1868 } 1869 1870 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.HiveExperiment> GetAllHiveExperiments() 1871 { 1872 return base.Channel.GetAllHiveExperiments(); 1873 } 1874 1875 public System.Guid AddHiveExperiment(HeuristicLab.Clients.Hive.HiveExperiment hiveExperimentDto) 1876 { 1877 return base.Channel.AddHiveExperiment(hiveExperimentDto); 1878 } 1879 1880 public void UpdateHiveExperiment(HeuristicLab.Clients.Hive.HiveExperiment hiveExperimentDto) 1881 { 1882 base.Channel.UpdateHiveExperiment(hiveExperimentDto); 1883 } 1884 1885 public void DeleteHiveExperiment(System.Guid hiveExperimentId) 1886 { 1887 base.Channel.DeleteHiveExperiment(hiveExperimentId); 1888 } 1889 1890 public void Hello(HeuristicLab.Clients.Hive.Slave slave) 1891 { 1892 base.Channel.Hello(slave); 1893 } 1894 1895 public void GoodBye(System.Guid slaveId) 1896 { 1897 base.Channel.GoodBye(slaveId); 1898 } 1899 1900 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.MessageContainer> Heartbeat(HeuristicLab.Clients.Hive.Heartbeat heartbeat1) 1901 { 1902 return base.Channel.Heartbeat(heartbeat1); 1903 } 1904 1905 public System.Guid AddPlugin(HeuristicLab.Clients.Hive.Plugin plugin, System.Collections.Generic.List<HeuristicLab.Clients.Hive.PluginData> pluginData) 1906 { 1907 return base.Channel.AddPlugin(plugin, pluginData); 1908 } 1909 1910 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Plugin> GetPlugins() 1911 { 1912 return base.Channel.GetPlugins(); 1913 } 1914 1915 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.PluginData> GetPluginDatas(System.Collections.Generic.List<System.Guid> pluginIds) 1916 { 1917 return base.Channel.GetPluginDatas(pluginIds); 1918 } 1919 1920 public System.Guid AddSlave(HeuristicLab.Clients.Hive.Slave slave) 1921 { 1922 return base.Channel.AddSlave(slave); 1923 } 1924 1925 public System.Guid AddSlaveGroup(HeuristicLab.Clients.Hive.SlaveGroup slaveGroup) 1926 { 1927 return base.Channel.AddSlaveGroup(slaveGroup); 1928 } 1929 1930 public HeuristicLab.Clients.Hive.Slave GetSlave(System.Guid slaveId) 1931 { 1932 return base.Channel.GetSlave(slaveId); 1933 } 1934 1935 public HeuristicLab.Clients.Hive.SlaveGroup GetSlaveGroup(System.Guid slaveGroupId) 1936 { 1937 return base.Channel.GetSlaveGroup(slaveGroupId); 1938 } 1939 1940 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Slave> GetSlaves() 1941 { 1942 return base.Channel.GetSlaves(); 1943 } 1944 1945 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.SlaveGroup> GetSlaveGroups() 1946 { 1947 return base.Channel.GetSlaveGroups(); 1948 } 1949 1950 public void UpdateSlave(HeuristicLab.Clients.Hive.Slave slave) 1951 { 1952 base.Channel.UpdateSlave(slave); 1953 } 1954 1955 public void UpdateSlaveGroup(HeuristicLab.Clients.Hive.SlaveGroup slaveGroup) 1956 { 1957 base.Channel.UpdateSlaveGroup(slaveGroup); 1958 } 1959 1960 public void DeleteSlave(System.Guid slaveId) 1961 { 1962 base.Channel.DeleteSlave(slaveId); 1963 } 1964 1965 public void DeleteSlaveGroup(System.Guid slaveGroupId) 1966 { 1967 base.Channel.DeleteSlaveGroup(slaveGroupId); 1968 } 1969 1970 public void AddResourceToGroup(System.Guid slaveGroupId, System.Guid resourceId) 1971 { 1972 base.Channel.AddResourceToGroup(slaveGroupId, resourceId); 1973 } 1974 1975 public void RemoveResourceFromGroup(System.Guid slaveGroupId, System.Guid resourceId) 1976 { 1977 base.Channel.RemoveResourceFromGroup(slaveGroupId, resourceId); 1978 } 1979 1980 public System.Guid GetResourceId(string resourceName) 1981 { 1982 return base.Channel.GetResourceId(resourceName); 1983 } 1984 1985 public void TriggerLifecycle(bool force) 1986 { 1987 base.Channel.TriggerLifecycle(force); 1988 } 1989 1990 public System.Guid AddAppointment(HeuristicLab.Clients.Hive.Appointment appointment) 1991 { 1992 return base.Channel.AddAppointment(appointment); 1993 } 1994 } 1619 1995 } -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/ServiceClients/Job.cs
r5718 r5779 30 30 public Job() { } 31 31 32 protected Job(Job original, Cloner cloner) {32 protected Job(Job original, Cloner cloner) : base(original, cloner) { 33 33 this.Priority = original.Priority; 34 34 this.CoresNeeded = original.CoresNeeded; … … 38 38 this.IsParentJob = original.IsParentJob; 39 39 this.FinishWhenChildJobsFinished = original.FinishWhenChildJobsFinished; 40 this.ExecutionTime = original.ExecutionTime;41 this.ParentJobId = original.ParentJobId;42 this.StateLog = new List<StateLog>(original.StateLog);43 this.State = original.State;44 this.Id = original.Id;45 40 } 46 41 … … 50 45 51 46 public override string ToString() { 52 return string.Format("State: {0}, SlaveId: {1}, DateCreated: {2}, DateCalculated: {3}, CoresNeeded: {4}, MemoryNeeded: {5}", State, CurrentStateLog.SlaveId, DateCreated.HasValue ? DateCreated.ToString() : "-", CoresNeeded, MemoryNeeded); 47 return string.Format("State: {0}, SlaveId: {1}, DateCreated: {2}, CoresNeeded: {3}, MemoryNeeded: {4}", 48 State, 49 CurrentStateLog != null ? (CurrentStateLog.SlaveId.HasValue ? CurrentStateLog.SlaveId.Value.ToString() : string.Empty) : string.Empty, 50 DateCreated.HasValue ? DateCreated.ToString() : string.Empty, 51 CoresNeeded, 52 MemoryNeeded); 53 53 } 54 54 } -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/ServiceClients/JobData.cs
r5614 r5779 29 29 30 30 protected JobData(JobData original, Cloner cloner) { 31 cloner.RegisterClonedObject(original, this); 31 32 if (original.Data != null) this.Data = new byte[original.Data.Length]; Array.Copy(original.Data, this.Data, original.Data.Length); 32 33 this.LastUpdate = original.LastUpdate; -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/ServiceClients/LightweightJob.cs
r5718 r5779 42 42 this.StateLog = new List<StateLog>(job.StateLog); 43 43 this.State = job.State; 44 this.Command = job.Command; 44 45 } 45 46 46 protected LightweightJob(LightweightJob original, Cloner cloner) { 47 protected LightweightJob(LightweightJob original, Cloner cloner) 48 : base(original, cloner) { 47 49 this.ExecutionTime = original.ExecutionTime; 48 50 this.ParentJobId = original.ParentJobId; 49 51 this.StateLog = new List<StateLog>(original.StateLog); 50 52 this.State = original.State; 51 this. Id = original.Id;53 this.Command = original.Command; 52 54 } 53 55 public override IDeepCloneable Clone(Cloner cloner) { -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/ServiceClients/Plugin.cs
r5614 r5779 20 20 #endregion 21 21 22 using System;23 using System.Runtime.Serialization;24 22 using HeuristicLab.Common; 25 23 26 24 namespace HeuristicLab.Clients.Hive { 27 25 28 26 public partial class Plugin : IDeepCloneable, IContent { 29 27 30 28 public Plugin() { } 31 29 32 protected Plugin(Plugin original, Cloner cloner) { 30 protected Plugin(Plugin original, Cloner cloner) 31 : base(original, cloner) { 33 32 this.Version = original.Version; 34 33 this.UserId = original.UserId; 35 34 this.DateCreated = original.DateCreated; 36 35 this.IsLocal = original.IsLocal; 37 this.Name = original.Name;38 this.Description = original.Description;39 this.Id = original.Id;40 36 } 41 37 -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/ServiceClients/PluginData.cs
r5614 r5779 29 29 public PluginData() { } 30 30 31 protected PluginData(PluginData original, Cloner cloner) { 31 protected PluginData(PluginData original, Cloner cloner) 32 : base(original, cloner) { 32 33 if (original.Data != null) 33 34 this.Data = new byte[original.Data.Length]; … … 35 36 this.FileName = original.FileName; 36 37 this.PluginId = original.PluginId; 37 this.Id = original.Id;38 38 } 39 39 -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/ServiceClients/Resource.cs
r5614 r5779 28 28 public Resource() { } 29 29 30 protected Resource(Resource original, Cloner cloner) { 30 protected Resource(Resource original, Cloner cloner) 31 : base(original, cloner) { 31 32 this.ParentResourceId = original.ParentResourceId; 32 this.Name = original.Name;33 this.Description = original.Description;34 this.Id = original.Id;35 33 } 36 34 -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/ServiceClients/StateLog.cs
r5634 r5779 28 28 public StateLog() { } 29 29 30 protected StateLog(StateLog original, Cloner cloner) { 30 protected StateLog(StateLog original, Cloner cloner) 31 : base(original, cloner) { 31 32 this.DateTime = original.DateTime; 32 33 this.UserId = original.UserId; … … 35 36 this.State = original.State; 36 37 this.JobId = original.JobId; 37 this.Id = original.Id;38 38 } 39 39
Note: See TracChangeset
for help on using the changeset viewer.