Changeset 1132 for trunk/sources/HeuristicLab.Hive.Client.Console/Service References/ClientService/Reference.cs
- Timestamp:
- 01/15/09 14:46:57 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Client.Console/Service References/ClientService/Reference.cs
r1087 r1132 322 322 HeuristicLab.Hive.Client.Console.ClientService.StatusCommons EndGetStatusInfos(System.IAsyncResult result); 323 323 324 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientConsoleCommunicator/GetConnection", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/GetConnectionResponse")]325 HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer GetConnection();326 327 [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientConsoleCommunicator/GetConnection", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/GetConnectionResponse")]328 System.IAsyncResult BeginGetConnection(System.AsyncCallback callback, object asyncState);329 330 HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer EndGetConnection(System.IAsyncResult result);331 332 324 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientConsoleCommunicator/SetConnection", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/SetConnectionResponse")] 333 325 void SetConnection(HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer container); … … 388 380 [System.Diagnostics.DebuggerStepThroughAttribute()] 389 381 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] 390 public partial class GetConnectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {391 392 private object[] results;393 394 public GetConnectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :395 base(exception, cancelled, userState) {396 this.results = results;397 }398 399 public HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer Result {400 get {401 base.RaiseExceptionIfNecessary();402 return ((HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer)(this.results[0]));403 }404 }405 }406 407 [System.Diagnostics.DebuggerStepThroughAttribute()]408 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]409 382 public partial class GetCurrentConnectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { 410 383 … … 434 407 private System.Threading.SendOrPostCallback onGetStatusInfosCompletedDelegate; 435 408 436 private BeginOperationDelegate onBeginGetConnectionDelegate;437 438 private EndOperationDelegate onEndGetConnectionDelegate;439 440 private System.Threading.SendOrPostCallback onGetConnectionCompletedDelegate;441 442 409 private BeginOperationDelegate onBeginSetConnectionDelegate; 443 410 … … 484 451 485 452 public event System.EventHandler<GetStatusInfosCompletedEventArgs> GetStatusInfosCompleted; 486 487 public event System.EventHandler<GetConnectionCompletedEventArgs> GetConnectionCompleted;488 453 489 454 public event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> SetConnectionCompleted; … … 543 508 } 544 509 545 public HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer GetConnection() {546 return base.Channel.GetConnection();547 }548 549 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]550 public System.IAsyncResult BeginGetConnection(System.AsyncCallback callback, object asyncState) {551 return base.Channel.BeginGetConnection(callback, asyncState);552 }553 554 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]555 public HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer EndGetConnection(System.IAsyncResult result) {556 return base.Channel.EndGetConnection(result);557 }558 559 private System.IAsyncResult OnBeginGetConnection(object[] inValues, System.AsyncCallback callback, object asyncState) {560 return this.BeginGetConnection(callback, asyncState);561 }562 563 private object[] OnEndGetConnection(System.IAsyncResult result) {564 HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer retVal = this.EndGetConnection(result);565 return new object[] {566 retVal};567 }568 569 private void OnGetConnectionCompleted(object state) {570 if ((this.GetConnectionCompleted != null)) {571 InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));572 this.GetConnectionCompleted(this, new GetConnectionCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));573 }574 }575 576 public void GetConnectionAsync() {577 this.GetConnectionAsync(null);578 }579 580 public void GetConnectionAsync(object userState) {581 if ((this.onBeginGetConnectionDelegate == null)) {582 this.onBeginGetConnectionDelegate = new BeginOperationDelegate(this.OnBeginGetConnection);583 }584 if ((this.onEndGetConnectionDelegate == null)) {585 this.onEndGetConnectionDelegate = new EndOperationDelegate(this.OnEndGetConnection);586 }587 if ((this.onGetConnectionCompletedDelegate == null)) {588 this.onGetConnectionCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetConnectionCompleted);589 }590 base.InvokeAsync(this.onBeginGetConnectionDelegate, null, this.onEndGetConnectionDelegate, this.onGetConnectionCompletedDelegate, userState);591 }592 593 510 public void SetConnection(HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer container) { 594 511 base.Channel.SetConnection(container);
Note: See TracChangeset
for help on using the changeset viewer.