Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Hive.Client.Console/Service References/ClientService/Reference.cs @ 1087

Last change on this file since 1087 was 1087, checked in by whackl, 15 years ago

added shutdown button (#455)

File size: 38.3 KB
Line 
1//------------------------------------------------------------------------------
2// <auto-generated>
3//     This code was generated by a tool.
4//     Runtime Version:2.0.50727.3053
5//
6//     Changes to this file may cause incorrect behavior and will be lost if
7//     the code is regenerated.
8// </auto-generated>
9//------------------------------------------------------------------------------
10
11namespace HeuristicLab.Hive.Client.Console.ClientService {
12    using System.Runtime.Serialization;
13    using System;
14   
15   
16    [System.Diagnostics.DebuggerStepThroughAttribute()]
17    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
18    [System.Runtime.Serialization.DataContractAttribute(Name="StatusCommons", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Hive.Client.Core.ClientConso" +
19        "leService")]
20    [System.SerializableAttribute()]
21    public partial class StatusCommons : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
22       
23        [System.NonSerializedAttribute()]
24        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
25       
26        [System.Runtime.Serialization.OptionalFieldAttribute()]
27        private System.Guid ClientGuidField;
28       
29        [System.Runtime.Serialization.OptionalFieldAttribute()]
30        private System.DateTime ConnectedSinceField;
31       
32        [System.Runtime.Serialization.OptionalFieldAttribute()]
33        private HeuristicLab.Hive.Client.Console.ClientService.JobStatus[] JobsField;
34       
35        [System.Runtime.Serialization.OptionalFieldAttribute()]
36        private int JobsAbortedField;
37       
38        [System.Runtime.Serialization.OptionalFieldAttribute()]
39        private int JobsDoneField;
40       
41        [System.Runtime.Serialization.OptionalFieldAttribute()]
42        private int JobsFetchedField;
43       
44        [System.Runtime.Serialization.OptionalFieldAttribute()]
45        private HeuristicLab.Hive.Client.Console.ClientService.NetworkEnumWcfConnState StatusField;
46       
47        [global::System.ComponentModel.BrowsableAttribute(false)]
48        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
49            get {
50                return this.extensionDataField;
51            }
52            set {
53                this.extensionDataField = value;
54            }
55        }
56       
57        [System.Runtime.Serialization.DataMemberAttribute()]
58        public System.Guid ClientGuid {
59            get {
60                return this.ClientGuidField;
61            }
62            set {
63                if ((this.ClientGuidField.Equals(value) != true)) {
64                    this.ClientGuidField = value;
65                    this.RaisePropertyChanged("ClientGuid");
66                }
67            }
68        }
69       
70        [System.Runtime.Serialization.DataMemberAttribute()]
71        public System.DateTime ConnectedSince {
72            get {
73                return this.ConnectedSinceField;
74            }
75            set {
76                if ((this.ConnectedSinceField.Equals(value) != true)) {
77                    this.ConnectedSinceField = value;
78                    this.RaisePropertyChanged("ConnectedSince");
79                }
80            }
81        }
82       
83        [System.Runtime.Serialization.DataMemberAttribute()]
84        public HeuristicLab.Hive.Client.Console.ClientService.JobStatus[] Jobs {
85            get {
86                return this.JobsField;
87            }
88            set {
89                if ((object.ReferenceEquals(this.JobsField, value) != true)) {
90                    this.JobsField = value;
91                    this.RaisePropertyChanged("Jobs");
92                }
93            }
94        }
95       
96        [System.Runtime.Serialization.DataMemberAttribute()]
97        public int JobsAborted {
98            get {
99                return this.JobsAbortedField;
100            }
101            set {
102                if ((this.JobsAbortedField.Equals(value) != true)) {
103                    this.JobsAbortedField = value;
104                    this.RaisePropertyChanged("JobsAborted");
105                }
106            }
107        }
108       
109        [System.Runtime.Serialization.DataMemberAttribute()]
110        public int JobsDone {
111            get {
112                return this.JobsDoneField;
113            }
114            set {
115                if ((this.JobsDoneField.Equals(value) != true)) {
116                    this.JobsDoneField = value;
117                    this.RaisePropertyChanged("JobsDone");
118                }
119            }
120        }
121       
122        [System.Runtime.Serialization.DataMemberAttribute()]
123        public int JobsFetched {
124            get {
125                return this.JobsFetchedField;
126            }
127            set {
128                if ((this.JobsFetchedField.Equals(value) != true)) {
129                    this.JobsFetchedField = value;
130                    this.RaisePropertyChanged("JobsFetched");
131                }
132            }
133        }
134       
135        [System.Runtime.Serialization.DataMemberAttribute()]
136        public HeuristicLab.Hive.Client.Console.ClientService.NetworkEnumWcfConnState Status {
137            get {
138                return this.StatusField;
139            }
140            set {
141                if ((this.StatusField.Equals(value) != true)) {
142                    this.StatusField = value;
143                    this.RaisePropertyChanged("Status");
144                }
145            }
146        }
147       
148        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
149       
150        protected void RaisePropertyChanged(string propertyName) {
151            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
152            if ((propertyChanged != null)) {
153                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
154            }
155        }
156    }
157   
158    [System.Diagnostics.DebuggerStepThroughAttribute()]
159    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
160    [System.Runtime.Serialization.DataContractAttribute(Name="JobStatus", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Hive.Client.Core.ClientConso" +
161        "leService")]
162    [System.SerializableAttribute()]
163    public partial class JobStatus : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
164       
165        [System.NonSerializedAttribute()]
166        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
167       
168        [System.Runtime.Serialization.OptionalFieldAttribute()]
169        private long JobIdField;
170       
171        [System.Runtime.Serialization.OptionalFieldAttribute()]
172        private double ProgressField;
173       
174        [System.Runtime.Serialization.OptionalFieldAttribute()]
175        private System.DateTime SinceField;
176       
177        [global::System.ComponentModel.BrowsableAttribute(false)]
178        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
179            get {
180                return this.extensionDataField;
181            }
182            set {
183                this.extensionDataField = value;
184            }
185        }
186       
187        [System.Runtime.Serialization.DataMemberAttribute()]
188        public long JobId {
189            get {
190                return this.JobIdField;
191            }
192            set {
193                if ((this.JobIdField.Equals(value) != true)) {
194                    this.JobIdField = value;
195                    this.RaisePropertyChanged("JobId");
196                }
197            }
198        }
199       
200        [System.Runtime.Serialization.DataMemberAttribute()]
201        public double Progress {
202            get {
203                return this.ProgressField;
204            }
205            set {
206                if ((this.ProgressField.Equals(value) != true)) {
207                    this.ProgressField = value;
208                    this.RaisePropertyChanged("Progress");
209                }
210            }
211        }
212       
213        [System.Runtime.Serialization.DataMemberAttribute()]
214        public System.DateTime Since {
215            get {
216                return this.SinceField;
217            }
218            set {
219                if ((this.SinceField.Equals(value) != true)) {
220                    this.SinceField = value;
221                    this.RaisePropertyChanged("Since");
222                }
223            }
224        }
225       
226        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
227       
228        protected void RaisePropertyChanged(string propertyName) {
229            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
230            if ((propertyChanged != null)) {
231                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
232            }
233        }
234    }
235   
236    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
237    [System.Runtime.Serialization.DataContractAttribute(Name="NetworkEnum.WcfConnState", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Hive.Client.Common")]
238    public enum NetworkEnumWcfConnState : int {
239       
240        [System.Runtime.Serialization.EnumMemberAttribute()]
241        Connected = 0,
242       
243        [System.Runtime.Serialization.EnumMemberAttribute()]
244        Disconnected = 1,
245       
246        [System.Runtime.Serialization.EnumMemberAttribute()]
247        Failed = 2,
248    }
249   
250    [System.Diagnostics.DebuggerStepThroughAttribute()]
251    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
252    [System.Runtime.Serialization.DataContractAttribute(Name="ConnectionContainer", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Hive.Client.Core.ClientConso" +
253        "leService")]
254    [System.SerializableAttribute()]
255    public partial class ConnectionContainer : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
256       
257        [System.NonSerializedAttribute()]
258        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
259       
260        [System.Runtime.Serialization.OptionalFieldAttribute()]
261        private string IPAdressField;
262       
263        [System.Runtime.Serialization.OptionalFieldAttribute()]
264        private int PortField;
265       
266        [global::System.ComponentModel.BrowsableAttribute(false)]
267        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
268            get {
269                return this.extensionDataField;
270            }
271            set {
272                this.extensionDataField = value;
273            }
274        }
275       
276        [System.Runtime.Serialization.DataMemberAttribute()]
277        public string IPAdress {
278            get {
279                return this.IPAdressField;
280            }
281            set {
282                if ((object.ReferenceEquals(this.IPAdressField, value) != true)) {
283                    this.IPAdressField = value;
284                    this.RaisePropertyChanged("IPAdress");
285                }
286            }
287        }
288       
289        [System.Runtime.Serialization.DataMemberAttribute()]
290        public int Port {
291            get {
292                return this.PortField;
293            }
294            set {
295                if ((this.PortField.Equals(value) != true)) {
296                    this.PortField = value;
297                    this.RaisePropertyChanged("Port");
298                }
299            }
300        }
301       
302        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
303       
304        protected void RaisePropertyChanged(string propertyName) {
305            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
306            if ((propertyChanged != null)) {
307                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
308            }
309        }
310    }
311   
312    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
313    [System.ServiceModel.ServiceContractAttribute(ConfigurationName="ClientService.IClientConsoleCommunicator")]
314    public interface IClientConsoleCommunicator {
315       
316        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientConsoleCommunicator/GetStatusInfos", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/GetStatusInfosResponse")]
317        HeuristicLab.Hive.Client.Console.ClientService.StatusCommons GetStatusInfos();
318       
319        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientConsoleCommunicator/GetStatusInfos", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/GetStatusInfosResponse")]
320        System.IAsyncResult BeginGetStatusInfos(System.AsyncCallback callback, object asyncState);
321       
322        HeuristicLab.Hive.Client.Console.ClientService.StatusCommons EndGetStatusInfos(System.IAsyncResult result);
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        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientConsoleCommunicator/SetConnection", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/SetConnectionResponse")]
333        void SetConnection(HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer container);
334       
335        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientConsoleCommunicator/SetConnection", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/SetConnectionResponse")]
336        System.IAsyncResult BeginSetConnection(HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer container, System.AsyncCallback callback, object asyncState);
337       
338        void EndSetConnection(System.IAsyncResult result);
339       
340        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientConsoleCommunicator/Disconnect", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/DisconnectResponse")]
341        void Disconnect();
342       
343        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientConsoleCommunicator/Disconnect", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/DisconnectResponse")]
344        System.IAsyncResult BeginDisconnect(System.AsyncCallback callback, object asyncState);
345       
346        void EndDisconnect(System.IAsyncResult result);
347       
348        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientConsoleCommunicator/GetCurrentConnection", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/GetCurrentConnectionResponse")]
349        HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer GetCurrentConnection();
350       
351        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientConsoleCommunicator/GetCurrentConnection", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/GetCurrentConnectionResponse")]
352        System.IAsyncResult BeginGetCurrentConnection(System.AsyncCallback callback, object asyncState);
353       
354        HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer EndGetCurrentConnection(System.IAsyncResult result);
355       
356        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientConsoleCommunicator/ShutdownClient", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/ShutdownClientResponse")]
357        void ShutdownClient();
358       
359        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientConsoleCommunicator/ShutdownClient", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/ShutdownClientResponse")]
360        System.IAsyncResult BeginShutdownClient(System.AsyncCallback callback, object asyncState);
361       
362        void EndShutdownClient(System.IAsyncResult result);
363    }
364   
365    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
366    public interface IClientConsoleCommunicatorChannel : HeuristicLab.Hive.Client.Console.ClientService.IClientConsoleCommunicator, System.ServiceModel.IClientChannel {
367    }
368   
369    [System.Diagnostics.DebuggerStepThroughAttribute()]
370    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
371    public partial class GetStatusInfosCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
372       
373        private object[] results;
374       
375        public GetStatusInfosCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
376                base(exception, cancelled, userState) {
377            this.results = results;
378        }
379       
380        public HeuristicLab.Hive.Client.Console.ClientService.StatusCommons Result {
381            get {
382                base.RaiseExceptionIfNecessary();
383                return ((HeuristicLab.Hive.Client.Console.ClientService.StatusCommons)(this.results[0]));
384            }
385        }
386    }
387   
388    [System.Diagnostics.DebuggerStepThroughAttribute()]
389    [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    public partial class GetCurrentConnectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
410       
411        private object[] results;
412       
413        public GetCurrentConnectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
414                base(exception, cancelled, userState) {
415            this.results = results;
416        }
417       
418        public HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer Result {
419            get {
420                base.RaiseExceptionIfNecessary();
421                return ((HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer)(this.results[0]));
422            }
423        }
424    }
425   
426    [System.Diagnostics.DebuggerStepThroughAttribute()]
427    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
428    public partial class ClientConsoleCommunicatorClient : System.ServiceModel.ClientBase<HeuristicLab.Hive.Client.Console.ClientService.IClientConsoleCommunicator>, HeuristicLab.Hive.Client.Console.ClientService.IClientConsoleCommunicator {
429       
430        private BeginOperationDelegate onBeginGetStatusInfosDelegate;
431       
432        private EndOperationDelegate onEndGetStatusInfosDelegate;
433       
434        private System.Threading.SendOrPostCallback onGetStatusInfosCompletedDelegate;
435       
436        private BeginOperationDelegate onBeginGetConnectionDelegate;
437       
438        private EndOperationDelegate onEndGetConnectionDelegate;
439       
440        private System.Threading.SendOrPostCallback onGetConnectionCompletedDelegate;
441       
442        private BeginOperationDelegate onBeginSetConnectionDelegate;
443       
444        private EndOperationDelegate onEndSetConnectionDelegate;
445       
446        private System.Threading.SendOrPostCallback onSetConnectionCompletedDelegate;
447       
448        private BeginOperationDelegate onBeginDisconnectDelegate;
449       
450        private EndOperationDelegate onEndDisconnectDelegate;
451       
452        private System.Threading.SendOrPostCallback onDisconnectCompletedDelegate;
453       
454        private BeginOperationDelegate onBeginGetCurrentConnectionDelegate;
455       
456        private EndOperationDelegate onEndGetCurrentConnectionDelegate;
457       
458        private System.Threading.SendOrPostCallback onGetCurrentConnectionCompletedDelegate;
459       
460        private BeginOperationDelegate onBeginShutdownClientDelegate;
461       
462        private EndOperationDelegate onEndShutdownClientDelegate;
463       
464        private System.Threading.SendOrPostCallback onShutdownClientCompletedDelegate;
465       
466        public ClientConsoleCommunicatorClient() {
467        }
468       
469        public ClientConsoleCommunicatorClient(string endpointConfigurationName) :
470                base(endpointConfigurationName) {
471        }
472       
473        public ClientConsoleCommunicatorClient(string endpointConfigurationName, string remoteAddress) :
474                base(endpointConfigurationName, remoteAddress) {
475        }
476       
477        public ClientConsoleCommunicatorClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
478                base(endpointConfigurationName, remoteAddress) {
479        }
480       
481        public ClientConsoleCommunicatorClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
482                base(binding, remoteAddress) {
483        }
484       
485        public event System.EventHandler<GetStatusInfosCompletedEventArgs> GetStatusInfosCompleted;
486       
487        public event System.EventHandler<GetConnectionCompletedEventArgs> GetConnectionCompleted;
488       
489        public event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> SetConnectionCompleted;
490       
491        public event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> DisconnectCompleted;
492       
493        public event System.EventHandler<GetCurrentConnectionCompletedEventArgs> GetCurrentConnectionCompleted;
494       
495        public event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> ShutdownClientCompleted;
496       
497        public HeuristicLab.Hive.Client.Console.ClientService.StatusCommons GetStatusInfos() {
498            return base.Channel.GetStatusInfos();
499        }
500       
501        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
502        public System.IAsyncResult BeginGetStatusInfos(System.AsyncCallback callback, object asyncState) {
503            return base.Channel.BeginGetStatusInfos(callback, asyncState);
504        }
505       
506        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
507        public HeuristicLab.Hive.Client.Console.ClientService.StatusCommons EndGetStatusInfos(System.IAsyncResult result) {
508            return base.Channel.EndGetStatusInfos(result);
509        }
510       
511        private System.IAsyncResult OnBeginGetStatusInfos(object[] inValues, System.AsyncCallback callback, object asyncState) {
512            return this.BeginGetStatusInfos(callback, asyncState);
513        }
514       
515        private object[] OnEndGetStatusInfos(System.IAsyncResult result) {
516            HeuristicLab.Hive.Client.Console.ClientService.StatusCommons retVal = this.EndGetStatusInfos(result);
517            return new object[] {
518                    retVal};
519        }
520       
521        private void OnGetStatusInfosCompleted(object state) {
522            if ((this.GetStatusInfosCompleted != null)) {
523                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
524                this.GetStatusInfosCompleted(this, new GetStatusInfosCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
525            }
526        }
527       
528        public void GetStatusInfosAsync() {
529            this.GetStatusInfosAsync(null);
530        }
531       
532        public void GetStatusInfosAsync(object userState) {
533            if ((this.onBeginGetStatusInfosDelegate == null)) {
534                this.onBeginGetStatusInfosDelegate = new BeginOperationDelegate(this.OnBeginGetStatusInfos);
535            }
536            if ((this.onEndGetStatusInfosDelegate == null)) {
537                this.onEndGetStatusInfosDelegate = new EndOperationDelegate(this.OnEndGetStatusInfos);
538            }
539            if ((this.onGetStatusInfosCompletedDelegate == null)) {
540                this.onGetStatusInfosCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetStatusInfosCompleted);
541            }
542            base.InvokeAsync(this.onBeginGetStatusInfosDelegate, null, this.onEndGetStatusInfosDelegate, this.onGetStatusInfosCompletedDelegate, userState);
543        }
544       
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        public void SetConnection(HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer container) {
594            base.Channel.SetConnection(container);
595        }
596       
597        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
598        public System.IAsyncResult BeginSetConnection(HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer container, System.AsyncCallback callback, object asyncState) {
599            return base.Channel.BeginSetConnection(container, callback, asyncState);
600        }
601       
602        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
603        public void EndSetConnection(System.IAsyncResult result) {
604            base.Channel.EndSetConnection(result);
605        }
606       
607        private System.IAsyncResult OnBeginSetConnection(object[] inValues, System.AsyncCallback callback, object asyncState) {
608            HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer container = ((HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer)(inValues[0]));
609            return this.BeginSetConnection(container, callback, asyncState);
610        }
611       
612        private object[] OnEndSetConnection(System.IAsyncResult result) {
613            this.EndSetConnection(result);
614            return null;
615        }
616       
617        private void OnSetConnectionCompleted(object state) {
618            if ((this.SetConnectionCompleted != null)) {
619                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
620                this.SetConnectionCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(e.Error, e.Cancelled, e.UserState));
621            }
622        }
623       
624        public void SetConnectionAsync(HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer container) {
625            this.SetConnectionAsync(container, null);
626        }
627       
628        public void SetConnectionAsync(HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer container, object userState) {
629            if ((this.onBeginSetConnectionDelegate == null)) {
630                this.onBeginSetConnectionDelegate = new BeginOperationDelegate(this.OnBeginSetConnection);
631            }
632            if ((this.onEndSetConnectionDelegate == null)) {
633                this.onEndSetConnectionDelegate = new EndOperationDelegate(this.OnEndSetConnection);
634            }
635            if ((this.onSetConnectionCompletedDelegate == null)) {
636                this.onSetConnectionCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetConnectionCompleted);
637            }
638            base.InvokeAsync(this.onBeginSetConnectionDelegate, new object[] {
639                        container}, this.onEndSetConnectionDelegate, this.onSetConnectionCompletedDelegate, userState);
640        }
641       
642        public void Disconnect() {
643            base.Channel.Disconnect();
644        }
645       
646        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
647        public System.IAsyncResult BeginDisconnect(System.AsyncCallback callback, object asyncState) {
648            return base.Channel.BeginDisconnect(callback, asyncState);
649        }
650       
651        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
652        public void EndDisconnect(System.IAsyncResult result) {
653            base.Channel.EndDisconnect(result);
654        }
655       
656        private System.IAsyncResult OnBeginDisconnect(object[] inValues, System.AsyncCallback callback, object asyncState) {
657            return this.BeginDisconnect(callback, asyncState);
658        }
659       
660        private object[] OnEndDisconnect(System.IAsyncResult result) {
661            this.EndDisconnect(result);
662            return null;
663        }
664       
665        private void OnDisconnectCompleted(object state) {
666            if ((this.DisconnectCompleted != null)) {
667                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
668                this.DisconnectCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(e.Error, e.Cancelled, e.UserState));
669            }
670        }
671       
672        public void DisconnectAsync() {
673            this.DisconnectAsync(null);
674        }
675       
676        public void DisconnectAsync(object userState) {
677            if ((this.onBeginDisconnectDelegate == null)) {
678                this.onBeginDisconnectDelegate = new BeginOperationDelegate(this.OnBeginDisconnect);
679            }
680            if ((this.onEndDisconnectDelegate == null)) {
681                this.onEndDisconnectDelegate = new EndOperationDelegate(this.OnEndDisconnect);
682            }
683            if ((this.onDisconnectCompletedDelegate == null)) {
684                this.onDisconnectCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDisconnectCompleted);
685            }
686            base.InvokeAsync(this.onBeginDisconnectDelegate, null, this.onEndDisconnectDelegate, this.onDisconnectCompletedDelegate, userState);
687        }
688       
689        public HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer GetCurrentConnection() {
690            return base.Channel.GetCurrentConnection();
691        }
692       
693        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
694        public System.IAsyncResult BeginGetCurrentConnection(System.AsyncCallback callback, object asyncState) {
695            return base.Channel.BeginGetCurrentConnection(callback, asyncState);
696        }
697       
698        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
699        public HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer EndGetCurrentConnection(System.IAsyncResult result) {
700            return base.Channel.EndGetCurrentConnection(result);
701        }
702       
703        private System.IAsyncResult OnBeginGetCurrentConnection(object[] inValues, System.AsyncCallback callback, object asyncState) {
704            return this.BeginGetCurrentConnection(callback, asyncState);
705        }
706       
707        private object[] OnEndGetCurrentConnection(System.IAsyncResult result) {
708            HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer retVal = this.EndGetCurrentConnection(result);
709            return new object[] {
710                    retVal};
711        }
712       
713        private void OnGetCurrentConnectionCompleted(object state) {
714            if ((this.GetCurrentConnectionCompleted != null)) {
715                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
716                this.GetCurrentConnectionCompleted(this, new GetCurrentConnectionCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
717            }
718        }
719       
720        public void GetCurrentConnectionAsync() {
721            this.GetCurrentConnectionAsync(null);
722        }
723       
724        public void GetCurrentConnectionAsync(object userState) {
725            if ((this.onBeginGetCurrentConnectionDelegate == null)) {
726                this.onBeginGetCurrentConnectionDelegate = new BeginOperationDelegate(this.OnBeginGetCurrentConnection);
727            }
728            if ((this.onEndGetCurrentConnectionDelegate == null)) {
729                this.onEndGetCurrentConnectionDelegate = new EndOperationDelegate(this.OnEndGetCurrentConnection);
730            }
731            if ((this.onGetCurrentConnectionCompletedDelegate == null)) {
732                this.onGetCurrentConnectionCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetCurrentConnectionCompleted);
733            }
734            base.InvokeAsync(this.onBeginGetCurrentConnectionDelegate, null, this.onEndGetCurrentConnectionDelegate, this.onGetCurrentConnectionCompletedDelegate, userState);
735        }
736       
737        public void ShutdownClient() {
738            base.Channel.ShutdownClient();
739        }
740       
741        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
742        public System.IAsyncResult BeginShutdownClient(System.AsyncCallback callback, object asyncState) {
743            return base.Channel.BeginShutdownClient(callback, asyncState);
744        }
745       
746        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
747        public void EndShutdownClient(System.IAsyncResult result) {
748            base.Channel.EndShutdownClient(result);
749        }
750       
751        private System.IAsyncResult OnBeginShutdownClient(object[] inValues, System.AsyncCallback callback, object asyncState) {
752            return this.BeginShutdownClient(callback, asyncState);
753        }
754       
755        private object[] OnEndShutdownClient(System.IAsyncResult result) {
756            this.EndShutdownClient(result);
757            return null;
758        }
759       
760        private void OnShutdownClientCompleted(object state) {
761            if ((this.ShutdownClientCompleted != null)) {
762                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
763                this.ShutdownClientCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(e.Error, e.Cancelled, e.UserState));
764            }
765        }
766       
767        public void ShutdownClientAsync() {
768            this.ShutdownClientAsync(null);
769        }
770       
771        public void ShutdownClientAsync(object userState) {
772            if ((this.onBeginShutdownClientDelegate == null)) {
773                this.onBeginShutdownClientDelegate = new BeginOperationDelegate(this.OnBeginShutdownClient);
774            }
775            if ((this.onEndShutdownClientDelegate == null)) {
776                this.onEndShutdownClientDelegate = new EndOperationDelegate(this.OnEndShutdownClient);
777            }
778            if ((this.onShutdownClientCompletedDelegate == null)) {
779                this.onShutdownClientCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnShutdownClientCompleted);
780            }
781            base.InvokeAsync(this.onBeginShutdownClientDelegate, null, this.onEndShutdownClientDelegate, this.onShutdownClientCompletedDelegate, userState);
782        }
783    }
784}
Note: See TracBrowser for help on using the repository browser.