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