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 |
|
---|
11 | namespace 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 |
|
---|
357 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
|
---|
358 | public interface IClientConsoleCommunicatorChannel : HeuristicLab.Hive.Client.Console.ClientService.IClientConsoleCommunicator, System.ServiceModel.IClientChannel {
|
---|
359 | }
|
---|
360 |
|
---|
361 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
362 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
|
---|
363 | public partial class GetStatusInfosCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
364 |
|
---|
365 | private object[] results;
|
---|
366 |
|
---|
367 | public GetStatusInfosCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
---|
368 | base(exception, cancelled, userState) {
|
---|
369 | this.results = results;
|
---|
370 | }
|
---|
371 |
|
---|
372 | public HeuristicLab.Hive.Client.Console.ClientService.StatusCommons Result {
|
---|
373 | get {
|
---|
374 | base.RaiseExceptionIfNecessary();
|
---|
375 | return ((HeuristicLab.Hive.Client.Console.ClientService.StatusCommons)(this.results[0]));
|
---|
376 | }
|
---|
377 | }
|
---|
378 | }
|
---|
379 |
|
---|
380 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
381 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
|
---|
382 | public partial class GetConnectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
383 |
|
---|
384 | private object[] results;
|
---|
385 |
|
---|
386 | public GetConnectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
---|
387 | base(exception, cancelled, userState) {
|
---|
388 | this.results = results;
|
---|
389 | }
|
---|
390 |
|
---|
391 | public HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer Result {
|
---|
392 | get {
|
---|
393 | base.RaiseExceptionIfNecessary();
|
---|
394 | return ((HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer)(this.results[0]));
|
---|
395 | }
|
---|
396 | }
|
---|
397 | }
|
---|
398 |
|
---|
399 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
400 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
|
---|
401 | public partial class GetCurrentConnectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
---|
402 |
|
---|
403 | private object[] results;
|
---|
404 |
|
---|
405 | public GetCurrentConnectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
---|
406 | base(exception, cancelled, userState) {
|
---|
407 | this.results = results;
|
---|
408 | }
|
---|
409 |
|
---|
410 | public HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer Result {
|
---|
411 | get {
|
---|
412 | base.RaiseExceptionIfNecessary();
|
---|
413 | return ((HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer)(this.results[0]));
|
---|
414 | }
|
---|
415 | }
|
---|
416 | }
|
---|
417 |
|
---|
418 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
419 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
|
---|
420 | public partial class ClientConsoleCommunicatorClient : System.ServiceModel.ClientBase<HeuristicLab.Hive.Client.Console.ClientService.IClientConsoleCommunicator>, HeuristicLab.Hive.Client.Console.ClientService.IClientConsoleCommunicator {
|
---|
421 |
|
---|
422 | private BeginOperationDelegate onBeginGetStatusInfosDelegate;
|
---|
423 |
|
---|
424 | private EndOperationDelegate onEndGetStatusInfosDelegate;
|
---|
425 |
|
---|
426 | private System.Threading.SendOrPostCallback onGetStatusInfosCompletedDelegate;
|
---|
427 |
|
---|
428 | private BeginOperationDelegate onBeginGetConnectionDelegate;
|
---|
429 |
|
---|
430 | private EndOperationDelegate onEndGetConnectionDelegate;
|
---|
431 |
|
---|
432 | private System.Threading.SendOrPostCallback onGetConnectionCompletedDelegate;
|
---|
433 |
|
---|
434 | private BeginOperationDelegate onBeginSetConnectionDelegate;
|
---|
435 |
|
---|
436 | private EndOperationDelegate onEndSetConnectionDelegate;
|
---|
437 |
|
---|
438 | private System.Threading.SendOrPostCallback onSetConnectionCompletedDelegate;
|
---|
439 |
|
---|
440 | private BeginOperationDelegate onBeginDisconnectDelegate;
|
---|
441 |
|
---|
442 | private EndOperationDelegate onEndDisconnectDelegate;
|
---|
443 |
|
---|
444 | private System.Threading.SendOrPostCallback onDisconnectCompletedDelegate;
|
---|
445 |
|
---|
446 | private BeginOperationDelegate onBeginGetCurrentConnectionDelegate;
|
---|
447 |
|
---|
448 | private EndOperationDelegate onEndGetCurrentConnectionDelegate;
|
---|
449 |
|
---|
450 | private System.Threading.SendOrPostCallback onGetCurrentConnectionCompletedDelegate;
|
---|
451 |
|
---|
452 | public ClientConsoleCommunicatorClient() {
|
---|
453 | }
|
---|
454 |
|
---|
455 | public ClientConsoleCommunicatorClient(string endpointConfigurationName) :
|
---|
456 | base(endpointConfigurationName) {
|
---|
457 | }
|
---|
458 |
|
---|
459 | public ClientConsoleCommunicatorClient(string endpointConfigurationName, string remoteAddress) :
|
---|
460 | base(endpointConfigurationName, remoteAddress) {
|
---|
461 | }
|
---|
462 |
|
---|
463 | public ClientConsoleCommunicatorClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
|
---|
464 | base(endpointConfigurationName, remoteAddress) {
|
---|
465 | }
|
---|
466 |
|
---|
467 | public ClientConsoleCommunicatorClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
---|
468 | base(binding, remoteAddress) {
|
---|
469 | }
|
---|
470 |
|
---|
471 | public event System.EventHandler<GetStatusInfosCompletedEventArgs> GetStatusInfosCompleted;
|
---|
472 |
|
---|
473 | public event System.EventHandler<GetConnectionCompletedEventArgs> GetConnectionCompleted;
|
---|
474 |
|
---|
475 | public event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> SetConnectionCompleted;
|
---|
476 |
|
---|
477 | public event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> DisconnectCompleted;
|
---|
478 |
|
---|
479 | public event System.EventHandler<GetCurrentConnectionCompletedEventArgs> GetCurrentConnectionCompleted;
|
---|
480 |
|
---|
481 | public HeuristicLab.Hive.Client.Console.ClientService.StatusCommons GetStatusInfos() {
|
---|
482 | return base.Channel.GetStatusInfos();
|
---|
483 | }
|
---|
484 |
|
---|
485 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
486 | public System.IAsyncResult BeginGetStatusInfos(System.AsyncCallback callback, object asyncState) {
|
---|
487 | return base.Channel.BeginGetStatusInfos(callback, asyncState);
|
---|
488 | }
|
---|
489 |
|
---|
490 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
491 | public HeuristicLab.Hive.Client.Console.ClientService.StatusCommons EndGetStatusInfos(System.IAsyncResult result) {
|
---|
492 | return base.Channel.EndGetStatusInfos(result);
|
---|
493 | }
|
---|
494 |
|
---|
495 | private System.IAsyncResult OnBeginGetStatusInfos(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
496 | return this.BeginGetStatusInfos(callback, asyncState);
|
---|
497 | }
|
---|
498 |
|
---|
499 | private object[] OnEndGetStatusInfos(System.IAsyncResult result) {
|
---|
500 | HeuristicLab.Hive.Client.Console.ClientService.StatusCommons retVal = this.EndGetStatusInfos(result);
|
---|
501 | return new object[] {
|
---|
502 | retVal};
|
---|
503 | }
|
---|
504 |
|
---|
505 | private void OnGetStatusInfosCompleted(object state) {
|
---|
506 | if ((this.GetStatusInfosCompleted != null)) {
|
---|
507 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
508 | this.GetStatusInfosCompleted(this, new GetStatusInfosCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
509 | }
|
---|
510 | }
|
---|
511 |
|
---|
512 | public void GetStatusInfosAsync() {
|
---|
513 | this.GetStatusInfosAsync(null);
|
---|
514 | }
|
---|
515 |
|
---|
516 | public void GetStatusInfosAsync(object userState) {
|
---|
517 | if ((this.onBeginGetStatusInfosDelegate == null)) {
|
---|
518 | this.onBeginGetStatusInfosDelegate = new BeginOperationDelegate(this.OnBeginGetStatusInfos);
|
---|
519 | }
|
---|
520 | if ((this.onEndGetStatusInfosDelegate == null)) {
|
---|
521 | this.onEndGetStatusInfosDelegate = new EndOperationDelegate(this.OnEndGetStatusInfos);
|
---|
522 | }
|
---|
523 | if ((this.onGetStatusInfosCompletedDelegate == null)) {
|
---|
524 | this.onGetStatusInfosCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetStatusInfosCompleted);
|
---|
525 | }
|
---|
526 | base.InvokeAsync(this.onBeginGetStatusInfosDelegate, null, this.onEndGetStatusInfosDelegate, this.onGetStatusInfosCompletedDelegate, userState);
|
---|
527 | }
|
---|
528 |
|
---|
529 | public HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer GetConnection() {
|
---|
530 | return base.Channel.GetConnection();
|
---|
531 | }
|
---|
532 |
|
---|
533 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
534 | public System.IAsyncResult BeginGetConnection(System.AsyncCallback callback, object asyncState) {
|
---|
535 | return base.Channel.BeginGetConnection(callback, asyncState);
|
---|
536 | }
|
---|
537 |
|
---|
538 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
539 | public HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer EndGetConnection(System.IAsyncResult result) {
|
---|
540 | return base.Channel.EndGetConnection(result);
|
---|
541 | }
|
---|
542 |
|
---|
543 | private System.IAsyncResult OnBeginGetConnection(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
544 | return this.BeginGetConnection(callback, asyncState);
|
---|
545 | }
|
---|
546 |
|
---|
547 | private object[] OnEndGetConnection(System.IAsyncResult result) {
|
---|
548 | HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer retVal = this.EndGetConnection(result);
|
---|
549 | return new object[] {
|
---|
550 | retVal};
|
---|
551 | }
|
---|
552 |
|
---|
553 | private void OnGetConnectionCompleted(object state) {
|
---|
554 | if ((this.GetConnectionCompleted != null)) {
|
---|
555 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
556 | this.GetConnectionCompleted(this, new GetConnectionCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
557 | }
|
---|
558 | }
|
---|
559 |
|
---|
560 | public void GetConnectionAsync() {
|
---|
561 | this.GetConnectionAsync(null);
|
---|
562 | }
|
---|
563 |
|
---|
564 | public void GetConnectionAsync(object userState) {
|
---|
565 | if ((this.onBeginGetConnectionDelegate == null)) {
|
---|
566 | this.onBeginGetConnectionDelegate = new BeginOperationDelegate(this.OnBeginGetConnection);
|
---|
567 | }
|
---|
568 | if ((this.onEndGetConnectionDelegate == null)) {
|
---|
569 | this.onEndGetConnectionDelegate = new EndOperationDelegate(this.OnEndGetConnection);
|
---|
570 | }
|
---|
571 | if ((this.onGetConnectionCompletedDelegate == null)) {
|
---|
572 | this.onGetConnectionCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetConnectionCompleted);
|
---|
573 | }
|
---|
574 | base.InvokeAsync(this.onBeginGetConnectionDelegate, null, this.onEndGetConnectionDelegate, this.onGetConnectionCompletedDelegate, userState);
|
---|
575 | }
|
---|
576 |
|
---|
577 | public void SetConnection(HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer container) {
|
---|
578 | base.Channel.SetConnection(container);
|
---|
579 | }
|
---|
580 |
|
---|
581 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
582 | public System.IAsyncResult BeginSetConnection(HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer container, System.AsyncCallback callback, object asyncState) {
|
---|
583 | return base.Channel.BeginSetConnection(container, callback, asyncState);
|
---|
584 | }
|
---|
585 |
|
---|
586 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
587 | public void EndSetConnection(System.IAsyncResult result) {
|
---|
588 | base.Channel.EndSetConnection(result);
|
---|
589 | }
|
---|
590 |
|
---|
591 | private System.IAsyncResult OnBeginSetConnection(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
592 | HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer container = ((HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer)(inValues[0]));
|
---|
593 | return this.BeginSetConnection(container, callback, asyncState);
|
---|
594 | }
|
---|
595 |
|
---|
596 | private object[] OnEndSetConnection(System.IAsyncResult result) {
|
---|
597 | this.EndSetConnection(result);
|
---|
598 | return null;
|
---|
599 | }
|
---|
600 |
|
---|
601 | private void OnSetConnectionCompleted(object state) {
|
---|
602 | if ((this.SetConnectionCompleted != null)) {
|
---|
603 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
604 | this.SetConnectionCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(e.Error, e.Cancelled, e.UserState));
|
---|
605 | }
|
---|
606 | }
|
---|
607 |
|
---|
608 | public void SetConnectionAsync(HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer container) {
|
---|
609 | this.SetConnectionAsync(container, null);
|
---|
610 | }
|
---|
611 |
|
---|
612 | public void SetConnectionAsync(HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer container, object userState) {
|
---|
613 | if ((this.onBeginSetConnectionDelegate == null)) {
|
---|
614 | this.onBeginSetConnectionDelegate = new BeginOperationDelegate(this.OnBeginSetConnection);
|
---|
615 | }
|
---|
616 | if ((this.onEndSetConnectionDelegate == null)) {
|
---|
617 | this.onEndSetConnectionDelegate = new EndOperationDelegate(this.OnEndSetConnection);
|
---|
618 | }
|
---|
619 | if ((this.onSetConnectionCompletedDelegate == null)) {
|
---|
620 | this.onSetConnectionCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetConnectionCompleted);
|
---|
621 | }
|
---|
622 | base.InvokeAsync(this.onBeginSetConnectionDelegate, new object[] {
|
---|
623 | container}, this.onEndSetConnectionDelegate, this.onSetConnectionCompletedDelegate, userState);
|
---|
624 | }
|
---|
625 |
|
---|
626 | public void Disconnect() {
|
---|
627 | base.Channel.Disconnect();
|
---|
628 | }
|
---|
629 |
|
---|
630 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
631 | public System.IAsyncResult BeginDisconnect(System.AsyncCallback callback, object asyncState) {
|
---|
632 | return base.Channel.BeginDisconnect(callback, asyncState);
|
---|
633 | }
|
---|
634 |
|
---|
635 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
636 | public void EndDisconnect(System.IAsyncResult result) {
|
---|
637 | base.Channel.EndDisconnect(result);
|
---|
638 | }
|
---|
639 |
|
---|
640 | private System.IAsyncResult OnBeginDisconnect(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
641 | return this.BeginDisconnect(callback, asyncState);
|
---|
642 | }
|
---|
643 |
|
---|
644 | private object[] OnEndDisconnect(System.IAsyncResult result) {
|
---|
645 | this.EndDisconnect(result);
|
---|
646 | return null;
|
---|
647 | }
|
---|
648 |
|
---|
649 | private void OnDisconnectCompleted(object state) {
|
---|
650 | if ((this.DisconnectCompleted != null)) {
|
---|
651 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
652 | this.DisconnectCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(e.Error, e.Cancelled, e.UserState));
|
---|
653 | }
|
---|
654 | }
|
---|
655 |
|
---|
656 | public void DisconnectAsync() {
|
---|
657 | this.DisconnectAsync(null);
|
---|
658 | }
|
---|
659 |
|
---|
660 | public void DisconnectAsync(object userState) {
|
---|
661 | if ((this.onBeginDisconnectDelegate == null)) {
|
---|
662 | this.onBeginDisconnectDelegate = new BeginOperationDelegate(this.OnBeginDisconnect);
|
---|
663 | }
|
---|
664 | if ((this.onEndDisconnectDelegate == null)) {
|
---|
665 | this.onEndDisconnectDelegate = new EndOperationDelegate(this.OnEndDisconnect);
|
---|
666 | }
|
---|
667 | if ((this.onDisconnectCompletedDelegate == null)) {
|
---|
668 | this.onDisconnectCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDisconnectCompleted);
|
---|
669 | }
|
---|
670 | base.InvokeAsync(this.onBeginDisconnectDelegate, null, this.onEndDisconnectDelegate, this.onDisconnectCompletedDelegate, userState);
|
---|
671 | }
|
---|
672 |
|
---|
673 | public HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer GetCurrentConnection() {
|
---|
674 | return base.Channel.GetCurrentConnection();
|
---|
675 | }
|
---|
676 |
|
---|
677 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
678 | public System.IAsyncResult BeginGetCurrentConnection(System.AsyncCallback callback, object asyncState) {
|
---|
679 | return base.Channel.BeginGetCurrentConnection(callback, asyncState);
|
---|
680 | }
|
---|
681 |
|
---|
682 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
---|
683 | public HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer EndGetCurrentConnection(System.IAsyncResult result) {
|
---|
684 | return base.Channel.EndGetCurrentConnection(result);
|
---|
685 | }
|
---|
686 |
|
---|
687 | private System.IAsyncResult OnBeginGetCurrentConnection(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
---|
688 | return this.BeginGetCurrentConnection(callback, asyncState);
|
---|
689 | }
|
---|
690 |
|
---|
691 | private object[] OnEndGetCurrentConnection(System.IAsyncResult result) {
|
---|
692 | HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer retVal = this.EndGetCurrentConnection(result);
|
---|
693 | return new object[] {
|
---|
694 | retVal};
|
---|
695 | }
|
---|
696 |
|
---|
697 | private void OnGetCurrentConnectionCompleted(object state) {
|
---|
698 | if ((this.GetCurrentConnectionCompleted != null)) {
|
---|
699 | InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
---|
700 | this.GetCurrentConnectionCompleted(this, new GetCurrentConnectionCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
---|
701 | }
|
---|
702 | }
|
---|
703 |
|
---|
704 | public void GetCurrentConnectionAsync() {
|
---|
705 | this.GetCurrentConnectionAsync(null);
|
---|
706 | }
|
---|
707 |
|
---|
708 | public void GetCurrentConnectionAsync(object userState) {
|
---|
709 | if ((this.onBeginGetCurrentConnectionDelegate == null)) {
|
---|
710 | this.onBeginGetCurrentConnectionDelegate = new BeginOperationDelegate(this.OnBeginGetCurrentConnection);
|
---|
711 | }
|
---|
712 | if ((this.onEndGetCurrentConnectionDelegate == null)) {
|
---|
713 | this.onEndGetCurrentConnectionDelegate = new EndOperationDelegate(this.OnEndGetCurrentConnection);
|
---|
714 | }
|
---|
715 | if ((this.onGetCurrentConnectionCompletedDelegate == null)) {
|
---|
716 | this.onGetCurrentConnectionCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetCurrentConnectionCompleted);
|
---|
717 | }
|
---|
718 | base.InvokeAsync(this.onBeginGetCurrentConnectionDelegate, null, this.onEndGetCurrentConnectionDelegate, this.onGetCurrentConnectionCompletedDelegate, userState);
|
---|
719 | }
|
---|
720 | }
|
---|
721 | }
|
---|