Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Hive_Milestone3/sources/HeuristicLab.Hive.Client.Communication/3.2/Service References/ServerService/Reference.cs @ 4483

Last change on this file since 4483 was 1939, checked in by svonolfe, 16 years ago

Large amounts of data are now transferred streamed (fixed ticket #660)

File size: 62.9 KB
Line 
1//------------------------------------------------------------------------------
2// <auto-generated>
3//     This code was generated by a tool.
4//     Runtime Version:2.0.50727.3082
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.Communication.ServerService {
12   
13   
14    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
15    [System.ServiceModel.ServiceContractAttribute(ConfigurationName="ServerService.IClientFacade")]
16    public interface IClientFacade {
17       
18        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientCommunicator/Login", ReplyAction="http://tempuri.org/IClientCommunicator/LoginResponse")]
19        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseHB))]
20        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseJob))]
21        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseResultReceived))]
22        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponsePlugin))]
23        HeuristicLab.Hive.Contracts.Response Login(HeuristicLab.Hive.Contracts.BusinessObjects.ClientInfo clientInfo);
24       
25        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientCommunicator/Login", ReplyAction="http://tempuri.org/IClientCommunicator/LoginResponse")]
26        System.IAsyncResult BeginLogin(HeuristicLab.Hive.Contracts.BusinessObjects.ClientInfo clientInfo, System.AsyncCallback callback, object asyncState);
27       
28        HeuristicLab.Hive.Contracts.Response EndLogin(System.IAsyncResult result);
29       
30        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientCommunicator/ProcessHeartBeat", ReplyAction="http://tempuri.org/IClientCommunicator/ProcessHeartBeatResponse")]
31        HeuristicLab.Hive.Contracts.ResponseHB ProcessHeartBeat(HeuristicLab.Hive.Contracts.BusinessObjects.HeartBeatData hbData);
32       
33        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientCommunicator/ProcessHeartBeat", ReplyAction="http://tempuri.org/IClientCommunicator/ProcessHeartBeatResponse")]
34        System.IAsyncResult BeginProcessHeartBeat(HeuristicLab.Hive.Contracts.BusinessObjects.HeartBeatData hbData, System.AsyncCallback callback, object asyncState);
35       
36        HeuristicLab.Hive.Contracts.ResponseHB EndProcessHeartBeat(System.IAsyncResult result);
37       
38        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientCommunicator/SendJob", ReplyAction="http://tempuri.org/IClientCommunicator/SendJobResponse")]
39        HeuristicLab.Hive.Contracts.ResponseJob SendJob(System.Guid clientId);
40       
41        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientCommunicator/SendJob", ReplyAction="http://tempuri.org/IClientCommunicator/SendJobResponse")]
42        System.IAsyncResult BeginSendJob(System.Guid clientId, System.AsyncCallback callback, object asyncState);
43       
44        HeuristicLab.Hive.Contracts.ResponseJob EndSendJob(System.IAsyncResult result);
45       
46        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientCommunicator/StoreFinishedJobResult", ReplyAction="http://tempuri.org/IClientCommunicator/StoreFinishedJobResultResponse")]
47        HeuristicLab.Hive.Contracts.ResponseResultReceived StoreFinishedJobResult(System.Guid clientId, System.Guid jobId, byte[] result, double percentage, System.Exception exception);
48       
49        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientCommunicator/StoreFinishedJobResult", ReplyAction="http://tempuri.org/IClientCommunicator/StoreFinishedJobResultResponse")]
50        System.IAsyncResult BeginStoreFinishedJobResult(System.Guid clientId, System.Guid jobId, byte[] result, double percentage, System.Exception exception, System.AsyncCallback callback, object asyncState);
51       
52        HeuristicLab.Hive.Contracts.ResponseResultReceived EndStoreFinishedJobResult(System.IAsyncResult result);
53       
54        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientCommunicator/ProcessSnapshot", ReplyAction="http://tempuri.org/IClientCommunicator/ProcessSnapshotResponse")]
55        HeuristicLab.Hive.Contracts.ResponseResultReceived ProcessSnapshot(System.Guid clientId, System.Guid jobId, byte[] result, double percentage, System.Exception exception);
56       
57        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientCommunicator/ProcessSnapshot", ReplyAction="http://tempuri.org/IClientCommunicator/ProcessSnapshotResponse")]
58        System.IAsyncResult BeginProcessSnapshot(System.Guid clientId, System.Guid jobId, byte[] result, double percentage, System.Exception exception, System.AsyncCallback callback, object asyncState);
59       
60        HeuristicLab.Hive.Contracts.ResponseResultReceived EndProcessSnapshot(System.IAsyncResult result);
61       
62        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientCommunicator/Logout", ReplyAction="http://tempuri.org/IClientCommunicator/LogoutResponse")]
63        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseHB))]
64        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseJob))]
65        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseResultReceived))]
66        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponsePlugin))]
67        HeuristicLab.Hive.Contracts.Response Logout(System.Guid clientId);
68       
69        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientCommunicator/Logout", ReplyAction="http://tempuri.org/IClientCommunicator/LogoutResponse")]
70        System.IAsyncResult BeginLogout(System.Guid clientId, System.AsyncCallback callback, object asyncState);
71       
72        HeuristicLab.Hive.Contracts.Response EndLogout(System.IAsyncResult result);
73       
74        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientCommunicator/IsJobStillNeeded", ReplyAction="http://tempuri.org/IClientCommunicator/IsJobStillNeededResponse")]
75        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseHB))]
76        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseJob))]
77        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponseResultReceived))]
78        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(HeuristicLab.Hive.Contracts.ResponsePlugin))]
79        HeuristicLab.Hive.Contracts.Response IsJobStillNeeded(System.Guid jobId);
80       
81        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientCommunicator/IsJobStillNeeded", ReplyAction="http://tempuri.org/IClientCommunicator/IsJobStillNeededResponse")]
82        System.IAsyncResult BeginIsJobStillNeeded(System.Guid jobId, System.AsyncCallback callback, object asyncState);
83       
84        HeuristicLab.Hive.Contracts.Response EndIsJobStillNeeded(System.IAsyncResult result);
85       
86        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientCommunicator/SendPlugins", ReplyAction="http://tempuri.org/IClientCommunicator/SendPluginsResponse")]
87        HeuristicLab.Hive.Contracts.ResponsePlugin SendPlugins(HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfo[] pluginList);
88       
89        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientCommunicator/SendPlugins", ReplyAction="http://tempuri.org/IClientCommunicator/SendPluginsResponse")]
90        System.IAsyncResult BeginSendPlugins(HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfo[] pluginList, System.AsyncCallback callback, object asyncState);
91       
92        HeuristicLab.Hive.Contracts.ResponsePlugin EndSendPlugins(System.IAsyncResult result);
93       
94        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientFacade/SendStreamedJob", ReplyAction="http://tempuri.org/IClientFacade/SendStreamedJobResponse")]
95        System.IO.Stream SendStreamedJob(System.Guid clientId);
96       
97        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientFacade/SendStreamedJob", ReplyAction="http://tempuri.org/IClientFacade/SendStreamedJobResponse")]
98        System.IAsyncResult BeginSendStreamedJob(System.Guid clientId, System.AsyncCallback callback, object asyncState);
99       
100        System.IO.Stream EndSendStreamedJob(System.IAsyncResult result);
101       
102        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientFacade/SendStreamedPlugins", ReplyAction="http://tempuri.org/IClientFacade/SendStreamedPluginsResponse")]
103        System.IO.Stream SendStreamedPlugins(HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfo[] pluginList);
104       
105        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientFacade/SendStreamedPlugins", ReplyAction="http://tempuri.org/IClientFacade/SendStreamedPluginsResponse")]
106        System.IAsyncResult BeginSendStreamedPlugins(HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfo[] pluginList, System.AsyncCallback callback, object asyncState);
107       
108        System.IO.Stream EndSendStreamedPlugins(System.IAsyncResult result);
109       
110        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientFacade/StoreFinishedJobResultStreamed", ReplyAction="http://tempuri.org/IClientFacade/StoreFinishedJobResultStreamedResponse")]
111        HeuristicLab.Hive.Contracts.ResponseResultReceived StoreFinishedJobResultStreamed(System.IO.Stream stream);
112       
113        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientFacade/StoreFinishedJobResultStreamed", ReplyAction="http://tempuri.org/IClientFacade/StoreFinishedJobResultStreamedResponse")]
114        System.IAsyncResult BeginStoreFinishedJobResultStreamed(System.IO.Stream stream, System.AsyncCallback callback, object asyncState);
115       
116        HeuristicLab.Hive.Contracts.ResponseResultReceived EndStoreFinishedJobResultStreamed(System.IAsyncResult result);
117       
118        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientFacade/ProcessSnapshotStreamed", ReplyAction="http://tempuri.org/IClientFacade/ProcessSnapshotStreamedResponse")]
119        HeuristicLab.Hive.Contracts.ResponseResultReceived ProcessSnapshotStreamed(System.IO.Stream stream);
120       
121        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientFacade/ProcessSnapshotStreamed", ReplyAction="http://tempuri.org/IClientFacade/ProcessSnapshotStreamedResponse")]
122        System.IAsyncResult BeginProcessSnapshotStreamed(System.IO.Stream stream, System.AsyncCallback callback, object asyncState);
123       
124        HeuristicLab.Hive.Contracts.ResponseResultReceived EndProcessSnapshotStreamed(System.IAsyncResult result);
125    }
126   
127    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
128    public interface IClientFacadeChannel : HeuristicLab.Hive.Client.Communication.ServerService.IClientFacade, System.ServiceModel.IClientChannel {
129    }
130   
131    [System.Diagnostics.DebuggerStepThroughAttribute()]
132    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
133    public partial class LoginCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
134       
135        private object[] results;
136       
137        public LoginCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
138                base(exception, cancelled, userState) {
139            this.results = results;
140        }
141       
142        public HeuristicLab.Hive.Contracts.Response Result {
143            get {
144                base.RaiseExceptionIfNecessary();
145                return ((HeuristicLab.Hive.Contracts.Response)(this.results[0]));
146            }
147        }
148    }
149   
150    [System.Diagnostics.DebuggerStepThroughAttribute()]
151    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
152    public partial class ProcessHeartBeatCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
153       
154        private object[] results;
155       
156        public ProcessHeartBeatCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
157                base(exception, cancelled, userState) {
158            this.results = results;
159        }
160       
161        public HeuristicLab.Hive.Contracts.ResponseHB Result {
162            get {
163                base.RaiseExceptionIfNecessary();
164                return ((HeuristicLab.Hive.Contracts.ResponseHB)(this.results[0]));
165            }
166        }
167    }
168   
169    [System.Diagnostics.DebuggerStepThroughAttribute()]
170    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
171    public partial class SendJobCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
172       
173        private object[] results;
174       
175        public SendJobCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
176                base(exception, cancelled, userState) {
177            this.results = results;
178        }
179       
180        public HeuristicLab.Hive.Contracts.ResponseJob Result {
181            get {
182                base.RaiseExceptionIfNecessary();
183                return ((HeuristicLab.Hive.Contracts.ResponseJob)(this.results[0]));
184            }
185        }
186    }
187   
188    [System.Diagnostics.DebuggerStepThroughAttribute()]
189    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
190    public partial class StoreFinishedJobResultCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
191       
192        private object[] results;
193       
194        public StoreFinishedJobResultCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
195                base(exception, cancelled, userState) {
196            this.results = results;
197        }
198       
199        public HeuristicLab.Hive.Contracts.ResponseResultReceived Result {
200            get {
201                base.RaiseExceptionIfNecessary();
202                return ((HeuristicLab.Hive.Contracts.ResponseResultReceived)(this.results[0]));
203            }
204        }
205    }
206   
207    [System.Diagnostics.DebuggerStepThroughAttribute()]
208    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
209    public partial class ProcessSnapshotCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
210       
211        private object[] results;
212       
213        public ProcessSnapshotCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
214                base(exception, cancelled, userState) {
215            this.results = results;
216        }
217       
218        public HeuristicLab.Hive.Contracts.ResponseResultReceived Result {
219            get {
220                base.RaiseExceptionIfNecessary();
221                return ((HeuristicLab.Hive.Contracts.ResponseResultReceived)(this.results[0]));
222            }
223        }
224    }
225   
226    [System.Diagnostics.DebuggerStepThroughAttribute()]
227    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
228    public partial class LogoutCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
229       
230        private object[] results;
231       
232        public LogoutCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
233                base(exception, cancelled, userState) {
234            this.results = results;
235        }
236       
237        public HeuristicLab.Hive.Contracts.Response Result {
238            get {
239                base.RaiseExceptionIfNecessary();
240                return ((HeuristicLab.Hive.Contracts.Response)(this.results[0]));
241            }
242        }
243    }
244   
245    [System.Diagnostics.DebuggerStepThroughAttribute()]
246    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
247    public partial class IsJobStillNeededCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
248       
249        private object[] results;
250       
251        public IsJobStillNeededCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
252                base(exception, cancelled, userState) {
253            this.results = results;
254        }
255       
256        public HeuristicLab.Hive.Contracts.Response Result {
257            get {
258                base.RaiseExceptionIfNecessary();
259                return ((HeuristicLab.Hive.Contracts.Response)(this.results[0]));
260            }
261        }
262    }
263   
264    [System.Diagnostics.DebuggerStepThroughAttribute()]
265    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
266    public partial class SendPluginsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
267       
268        private object[] results;
269       
270        public SendPluginsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
271                base(exception, cancelled, userState) {
272            this.results = results;
273        }
274       
275        public HeuristicLab.Hive.Contracts.ResponsePlugin Result {
276            get {
277                base.RaiseExceptionIfNecessary();
278                return ((HeuristicLab.Hive.Contracts.ResponsePlugin)(this.results[0]));
279            }
280        }
281    }
282   
283    [System.Diagnostics.DebuggerStepThroughAttribute()]
284    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
285    public partial class SendStreamedJobCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
286       
287        private object[] results;
288       
289        public SendStreamedJobCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
290                base(exception, cancelled, userState) {
291            this.results = results;
292        }
293       
294        public System.IO.Stream Result {
295            get {
296                base.RaiseExceptionIfNecessary();
297                return ((System.IO.Stream)(this.results[0]));
298            }
299        }
300    }
301   
302    [System.Diagnostics.DebuggerStepThroughAttribute()]
303    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
304    public partial class SendStreamedPluginsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
305       
306        private object[] results;
307       
308        public SendStreamedPluginsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
309                base(exception, cancelled, userState) {
310            this.results = results;
311        }
312       
313        public System.IO.Stream Result {
314            get {
315                base.RaiseExceptionIfNecessary();
316                return ((System.IO.Stream)(this.results[0]));
317            }
318        }
319    }
320   
321    [System.Diagnostics.DebuggerStepThroughAttribute()]
322    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
323    public partial class StoreFinishedJobResultStreamedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
324       
325        private object[] results;
326       
327        public StoreFinishedJobResultStreamedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
328                base(exception, cancelled, userState) {
329            this.results = results;
330        }
331       
332        public HeuristicLab.Hive.Contracts.ResponseResultReceived Result {
333            get {
334                base.RaiseExceptionIfNecessary();
335                return ((HeuristicLab.Hive.Contracts.ResponseResultReceived)(this.results[0]));
336            }
337        }
338    }
339   
340    [System.Diagnostics.DebuggerStepThroughAttribute()]
341    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
342    public partial class ProcessSnapshotStreamedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
343       
344        private object[] results;
345       
346        public ProcessSnapshotStreamedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
347                base(exception, cancelled, userState) {
348            this.results = results;
349        }
350       
351        public HeuristicLab.Hive.Contracts.ResponseResultReceived Result {
352            get {
353                base.RaiseExceptionIfNecessary();
354                return ((HeuristicLab.Hive.Contracts.ResponseResultReceived)(this.results[0]));
355            }
356        }
357    }
358   
359    [System.Diagnostics.DebuggerStepThroughAttribute()]
360    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
361    public partial class ClientFacadeClient : System.ServiceModel.ClientBase<HeuristicLab.Hive.Client.Communication.ServerService.IClientFacade>, HeuristicLab.Hive.Client.Communication.ServerService.IClientFacade {
362       
363        private BeginOperationDelegate onBeginLoginDelegate;
364       
365        private EndOperationDelegate onEndLoginDelegate;
366       
367        private System.Threading.SendOrPostCallback onLoginCompletedDelegate;
368       
369        private BeginOperationDelegate onBeginProcessHeartBeatDelegate;
370       
371        private EndOperationDelegate onEndProcessHeartBeatDelegate;
372       
373        private System.Threading.SendOrPostCallback onProcessHeartBeatCompletedDelegate;
374       
375        private BeginOperationDelegate onBeginSendJobDelegate;
376       
377        private EndOperationDelegate onEndSendJobDelegate;
378       
379        private System.Threading.SendOrPostCallback onSendJobCompletedDelegate;
380       
381        private BeginOperationDelegate onBeginStoreFinishedJobResultDelegate;
382       
383        private EndOperationDelegate onEndStoreFinishedJobResultDelegate;
384       
385        private System.Threading.SendOrPostCallback onStoreFinishedJobResultCompletedDelegate;
386       
387        private BeginOperationDelegate onBeginProcessSnapshotDelegate;
388       
389        private EndOperationDelegate onEndProcessSnapshotDelegate;
390       
391        private System.Threading.SendOrPostCallback onProcessSnapshotCompletedDelegate;
392       
393        private BeginOperationDelegate onBeginLogoutDelegate;
394       
395        private EndOperationDelegate onEndLogoutDelegate;
396       
397        private System.Threading.SendOrPostCallback onLogoutCompletedDelegate;
398       
399        private BeginOperationDelegate onBeginIsJobStillNeededDelegate;
400       
401        private EndOperationDelegate onEndIsJobStillNeededDelegate;
402       
403        private System.Threading.SendOrPostCallback onIsJobStillNeededCompletedDelegate;
404       
405        private BeginOperationDelegate onBeginSendPluginsDelegate;
406       
407        private EndOperationDelegate onEndSendPluginsDelegate;
408       
409        private System.Threading.SendOrPostCallback onSendPluginsCompletedDelegate;
410       
411        private BeginOperationDelegate onBeginSendStreamedJobDelegate;
412       
413        private EndOperationDelegate onEndSendStreamedJobDelegate;
414       
415        private System.Threading.SendOrPostCallback onSendStreamedJobCompletedDelegate;
416       
417        private BeginOperationDelegate onBeginSendStreamedPluginsDelegate;
418       
419        private EndOperationDelegate onEndSendStreamedPluginsDelegate;
420       
421        private System.Threading.SendOrPostCallback onSendStreamedPluginsCompletedDelegate;
422       
423        private BeginOperationDelegate onBeginStoreFinishedJobResultStreamedDelegate;
424       
425        private EndOperationDelegate onEndStoreFinishedJobResultStreamedDelegate;
426       
427        private System.Threading.SendOrPostCallback onStoreFinishedJobResultStreamedCompletedDelegate;
428       
429        private BeginOperationDelegate onBeginProcessSnapshotStreamedDelegate;
430       
431        private EndOperationDelegate onEndProcessSnapshotStreamedDelegate;
432       
433        private System.Threading.SendOrPostCallback onProcessSnapshotStreamedCompletedDelegate;
434       
435        public ClientFacadeClient() {
436        }
437       
438        public ClientFacadeClient(string endpointConfigurationName) :
439                base(endpointConfigurationName) {
440        }
441       
442        public ClientFacadeClient(string endpointConfigurationName, string remoteAddress) :
443                base(endpointConfigurationName, remoteAddress) {
444        }
445       
446        public ClientFacadeClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
447                base(endpointConfigurationName, remoteAddress) {
448        }
449       
450        public ClientFacadeClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
451                base(binding, remoteAddress) {
452        }
453       
454        public event System.EventHandler<LoginCompletedEventArgs> LoginCompleted;
455       
456        public event System.EventHandler<ProcessHeartBeatCompletedEventArgs> ProcessHeartBeatCompleted;
457       
458        public event System.EventHandler<SendJobCompletedEventArgs> SendJobCompleted;
459       
460        public event System.EventHandler<StoreFinishedJobResultCompletedEventArgs> StoreFinishedJobResultCompleted;
461       
462        public event System.EventHandler<ProcessSnapshotCompletedEventArgs> ProcessSnapshotCompleted;
463       
464        public event System.EventHandler<LogoutCompletedEventArgs> LogoutCompleted;
465       
466        public event System.EventHandler<IsJobStillNeededCompletedEventArgs> IsJobStillNeededCompleted;
467       
468        public event System.EventHandler<SendPluginsCompletedEventArgs> SendPluginsCompleted;
469       
470        public event System.EventHandler<SendStreamedJobCompletedEventArgs> SendStreamedJobCompleted;
471       
472        public event System.EventHandler<SendStreamedPluginsCompletedEventArgs> SendStreamedPluginsCompleted;
473       
474        public event System.EventHandler<StoreFinishedJobResultStreamedCompletedEventArgs> StoreFinishedJobResultStreamedCompleted;
475       
476        public event System.EventHandler<ProcessSnapshotStreamedCompletedEventArgs> ProcessSnapshotStreamedCompleted;
477       
478        public HeuristicLab.Hive.Contracts.Response Login(HeuristicLab.Hive.Contracts.BusinessObjects.ClientInfo clientInfo) {
479            return base.Channel.Login(clientInfo);
480        }
481       
482        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
483        public System.IAsyncResult BeginLogin(HeuristicLab.Hive.Contracts.BusinessObjects.ClientInfo clientInfo, System.AsyncCallback callback, object asyncState) {
484            return base.Channel.BeginLogin(clientInfo, callback, asyncState);
485        }
486       
487        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
488        public HeuristicLab.Hive.Contracts.Response EndLogin(System.IAsyncResult result) {
489            return base.Channel.EndLogin(result);
490        }
491       
492        private System.IAsyncResult OnBeginLogin(object[] inValues, System.AsyncCallback callback, object asyncState) {
493            HeuristicLab.Hive.Contracts.BusinessObjects.ClientInfo clientInfo = ((HeuristicLab.Hive.Contracts.BusinessObjects.ClientInfo)(inValues[0]));
494            return this.BeginLogin(clientInfo, callback, asyncState);
495        }
496       
497        private object[] OnEndLogin(System.IAsyncResult result) {
498            HeuristicLab.Hive.Contracts.Response retVal = this.EndLogin(result);
499            return new object[] {
500                    retVal};
501        }
502       
503        private void OnLoginCompleted(object state) {
504            if ((this.LoginCompleted != null)) {
505                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
506                this.LoginCompleted(this, new LoginCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
507            }
508        }
509       
510        public void LoginAsync(HeuristicLab.Hive.Contracts.BusinessObjects.ClientInfo clientInfo) {
511            this.LoginAsync(clientInfo, null);
512        }
513       
514        public void LoginAsync(HeuristicLab.Hive.Contracts.BusinessObjects.ClientInfo clientInfo, object userState) {
515            if ((this.onBeginLoginDelegate == null)) {
516                this.onBeginLoginDelegate = new BeginOperationDelegate(this.OnBeginLogin);
517            }
518            if ((this.onEndLoginDelegate == null)) {
519                this.onEndLoginDelegate = new EndOperationDelegate(this.OnEndLogin);
520            }
521            if ((this.onLoginCompletedDelegate == null)) {
522                this.onLoginCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnLoginCompleted);
523            }
524            base.InvokeAsync(this.onBeginLoginDelegate, new object[] {
525                        clientInfo}, this.onEndLoginDelegate, this.onLoginCompletedDelegate, userState);
526        }
527       
528        public HeuristicLab.Hive.Contracts.ResponseHB ProcessHeartBeat(HeuristicLab.Hive.Contracts.BusinessObjects.HeartBeatData hbData) {
529            return base.Channel.ProcessHeartBeat(hbData);
530        }
531       
532        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
533        public System.IAsyncResult BeginProcessHeartBeat(HeuristicLab.Hive.Contracts.BusinessObjects.HeartBeatData hbData, System.AsyncCallback callback, object asyncState) {
534            return base.Channel.BeginProcessHeartBeat(hbData, callback, asyncState);
535        }
536       
537        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
538        public HeuristicLab.Hive.Contracts.ResponseHB EndProcessHeartBeat(System.IAsyncResult result) {
539            return base.Channel.EndProcessHeartBeat(result);
540        }
541       
542        private System.IAsyncResult OnBeginProcessHeartBeat(object[] inValues, System.AsyncCallback callback, object asyncState) {
543            HeuristicLab.Hive.Contracts.BusinessObjects.HeartBeatData hbData = ((HeuristicLab.Hive.Contracts.BusinessObjects.HeartBeatData)(inValues[0]));
544            return this.BeginProcessHeartBeat(hbData, callback, asyncState);
545        }
546       
547        private object[] OnEndProcessHeartBeat(System.IAsyncResult result) {
548            HeuristicLab.Hive.Contracts.ResponseHB retVal = this.EndProcessHeartBeat(result);
549            return new object[] {
550                    retVal};
551        }
552       
553        private void OnProcessHeartBeatCompleted(object state) {
554            if ((this.ProcessHeartBeatCompleted != null)) {
555                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
556                this.ProcessHeartBeatCompleted(this, new ProcessHeartBeatCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
557            }
558        }
559       
560        public void ProcessHeartBeatAsync(HeuristicLab.Hive.Contracts.BusinessObjects.HeartBeatData hbData) {
561            this.ProcessHeartBeatAsync(hbData, null);
562        }
563       
564        public void ProcessHeartBeatAsync(HeuristicLab.Hive.Contracts.BusinessObjects.HeartBeatData hbData, object userState) {
565            if ((this.onBeginProcessHeartBeatDelegate == null)) {
566                this.onBeginProcessHeartBeatDelegate = new BeginOperationDelegate(this.OnBeginProcessHeartBeat);
567            }
568            if ((this.onEndProcessHeartBeatDelegate == null)) {
569                this.onEndProcessHeartBeatDelegate = new EndOperationDelegate(this.OnEndProcessHeartBeat);
570            }
571            if ((this.onProcessHeartBeatCompletedDelegate == null)) {
572                this.onProcessHeartBeatCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnProcessHeartBeatCompleted);
573            }
574            base.InvokeAsync(this.onBeginProcessHeartBeatDelegate, new object[] {
575                        hbData}, this.onEndProcessHeartBeatDelegate, this.onProcessHeartBeatCompletedDelegate, userState);
576        }
577       
578        public HeuristicLab.Hive.Contracts.ResponseJob SendJob(System.Guid clientId) {
579            return base.Channel.SendJob(clientId);
580        }
581       
582        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
583        public System.IAsyncResult BeginSendJob(System.Guid clientId, System.AsyncCallback callback, object asyncState) {
584            return base.Channel.BeginSendJob(clientId, callback, asyncState);
585        }
586       
587        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
588        public HeuristicLab.Hive.Contracts.ResponseJob EndSendJob(System.IAsyncResult result) {
589            return base.Channel.EndSendJob(result);
590        }
591       
592        private System.IAsyncResult OnBeginSendJob(object[] inValues, System.AsyncCallback callback, object asyncState) {
593            System.Guid clientId = ((System.Guid)(inValues[0]));
594            return this.BeginSendJob(clientId, callback, asyncState);
595        }
596       
597        private object[] OnEndSendJob(System.IAsyncResult result) {
598            HeuristicLab.Hive.Contracts.ResponseJob retVal = this.EndSendJob(result);
599            return new object[] {
600                    retVal};
601        }
602       
603        private void OnSendJobCompleted(object state) {
604            if ((this.SendJobCompleted != null)) {
605                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
606                this.SendJobCompleted(this, new SendJobCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
607            }
608        }
609       
610        public void SendJobAsync(System.Guid clientId) {
611            this.SendJobAsync(clientId, null);
612        }
613       
614        public void SendJobAsync(System.Guid clientId, object userState) {
615            if ((this.onBeginSendJobDelegate == null)) {
616                this.onBeginSendJobDelegate = new BeginOperationDelegate(this.OnBeginSendJob);
617            }
618            if ((this.onEndSendJobDelegate == null)) {
619                this.onEndSendJobDelegate = new EndOperationDelegate(this.OnEndSendJob);
620            }
621            if ((this.onSendJobCompletedDelegate == null)) {
622                this.onSendJobCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSendJobCompleted);
623            }
624            base.InvokeAsync(this.onBeginSendJobDelegate, new object[] {
625                        clientId}, this.onEndSendJobDelegate, this.onSendJobCompletedDelegate, userState);
626        }
627       
628        public HeuristicLab.Hive.Contracts.ResponseResultReceived StoreFinishedJobResult(System.Guid clientId, System.Guid jobId, byte[] result, double percentage, System.Exception exception) {
629            return base.Channel.StoreFinishedJobResult(clientId, jobId, result, percentage, exception);
630        }
631       
632        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
633        public System.IAsyncResult BeginStoreFinishedJobResult(System.Guid clientId, System.Guid jobId, byte[] result, double percentage, System.Exception exception, System.AsyncCallback callback, object asyncState) {
634            return base.Channel.BeginStoreFinishedJobResult(clientId, jobId, result, percentage, exception, callback, asyncState);
635        }
636       
637        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
638        public HeuristicLab.Hive.Contracts.ResponseResultReceived EndStoreFinishedJobResult(System.IAsyncResult result) {
639            return base.Channel.EndStoreFinishedJobResult(result);
640        }
641       
642        private System.IAsyncResult OnBeginStoreFinishedJobResult(object[] inValues, System.AsyncCallback callback, object asyncState) {
643            System.Guid clientId = ((System.Guid)(inValues[0]));
644            System.Guid jobId = ((System.Guid)(inValues[1]));
645            byte[] result = ((byte[])(inValues[2]));
646            double percentage = ((double)(inValues[3]));
647            System.Exception exception = ((System.Exception)(inValues[4]));
648            return this.BeginStoreFinishedJobResult(clientId, jobId, result, percentage, exception, callback, asyncState);
649        }
650       
651        private object[] OnEndStoreFinishedJobResult(System.IAsyncResult result) {
652            HeuristicLab.Hive.Contracts.ResponseResultReceived retVal = this.EndStoreFinishedJobResult(result);
653            return new object[] {
654                    retVal};
655        }
656       
657        private void OnStoreFinishedJobResultCompleted(object state) {
658            if ((this.StoreFinishedJobResultCompleted != null)) {
659                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
660                this.StoreFinishedJobResultCompleted(this, new StoreFinishedJobResultCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
661            }
662        }
663       
664        public void StoreFinishedJobResultAsync(System.Guid clientId, System.Guid jobId, byte[] result, double percentage, System.Exception exception) {
665            this.StoreFinishedJobResultAsync(clientId, jobId, result, percentage, exception, null);
666        }
667       
668        public void StoreFinishedJobResultAsync(System.Guid clientId, System.Guid jobId, byte[] result, double percentage, System.Exception exception, object userState) {
669            if ((this.onBeginStoreFinishedJobResultDelegate == null)) {
670                this.onBeginStoreFinishedJobResultDelegate = new BeginOperationDelegate(this.OnBeginStoreFinishedJobResult);
671            }
672            if ((this.onEndStoreFinishedJobResultDelegate == null)) {
673                this.onEndStoreFinishedJobResultDelegate = new EndOperationDelegate(this.OnEndStoreFinishedJobResult);
674            }
675            if ((this.onStoreFinishedJobResultCompletedDelegate == null)) {
676                this.onStoreFinishedJobResultCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStoreFinishedJobResultCompleted);
677            }
678            base.InvokeAsync(this.onBeginStoreFinishedJobResultDelegate, new object[] {
679                        clientId,
680                        jobId,
681                        result,
682                        percentage,
683                        exception}, this.onEndStoreFinishedJobResultDelegate, this.onStoreFinishedJobResultCompletedDelegate, userState);
684        }
685       
686        public HeuristicLab.Hive.Contracts.ResponseResultReceived ProcessSnapshot(System.Guid clientId, System.Guid jobId, byte[] result, double percentage, System.Exception exception) {
687            return base.Channel.ProcessSnapshot(clientId, jobId, result, percentage, exception);
688        }
689       
690        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
691        public System.IAsyncResult BeginProcessSnapshot(System.Guid clientId, System.Guid jobId, byte[] result, double percentage, System.Exception exception, System.AsyncCallback callback, object asyncState) {
692            return base.Channel.BeginProcessSnapshot(clientId, jobId, result, percentage, exception, callback, asyncState);
693        }
694       
695        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
696        public HeuristicLab.Hive.Contracts.ResponseResultReceived EndProcessSnapshot(System.IAsyncResult result) {
697            return base.Channel.EndProcessSnapshot(result);
698        }
699       
700        private System.IAsyncResult OnBeginProcessSnapshot(object[] inValues, System.AsyncCallback callback, object asyncState) {
701            System.Guid clientId = ((System.Guid)(inValues[0]));
702            System.Guid jobId = ((System.Guid)(inValues[1]));
703            byte[] result = ((byte[])(inValues[2]));
704            double percentage = ((double)(inValues[3]));
705            System.Exception exception = ((System.Exception)(inValues[4]));
706            return this.BeginProcessSnapshot(clientId, jobId, result, percentage, exception, callback, asyncState);
707        }
708       
709        private object[] OnEndProcessSnapshot(System.IAsyncResult result) {
710            HeuristicLab.Hive.Contracts.ResponseResultReceived retVal = this.EndProcessSnapshot(result);
711            return new object[] {
712                    retVal};
713        }
714       
715        private void OnProcessSnapshotCompleted(object state) {
716            if ((this.ProcessSnapshotCompleted != null)) {
717                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
718                this.ProcessSnapshotCompleted(this, new ProcessSnapshotCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
719            }
720        }
721       
722        public void ProcessSnapshotAsync(System.Guid clientId, System.Guid jobId, byte[] result, double percentage, System.Exception exception) {
723            this.ProcessSnapshotAsync(clientId, jobId, result, percentage, exception, null);
724        }
725       
726        public void ProcessSnapshotAsync(System.Guid clientId, System.Guid jobId, byte[] result, double percentage, System.Exception exception, object userState) {
727            if ((this.onBeginProcessSnapshotDelegate == null)) {
728                this.onBeginProcessSnapshotDelegate = new BeginOperationDelegate(this.OnBeginProcessSnapshot);
729            }
730            if ((this.onEndProcessSnapshotDelegate == null)) {
731                this.onEndProcessSnapshotDelegate = new EndOperationDelegate(this.OnEndProcessSnapshot);
732            }
733            if ((this.onProcessSnapshotCompletedDelegate == null)) {
734                this.onProcessSnapshotCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnProcessSnapshotCompleted);
735            }
736            base.InvokeAsync(this.onBeginProcessSnapshotDelegate, new object[] {
737                        clientId,
738                        jobId,
739                        result,
740                        percentage,
741                        exception}, this.onEndProcessSnapshotDelegate, this.onProcessSnapshotCompletedDelegate, userState);
742        }
743       
744        public HeuristicLab.Hive.Contracts.Response Logout(System.Guid clientId) {
745            return base.Channel.Logout(clientId);
746        }
747       
748        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
749        public System.IAsyncResult BeginLogout(System.Guid clientId, System.AsyncCallback callback, object asyncState) {
750            return base.Channel.BeginLogout(clientId, callback, asyncState);
751        }
752       
753        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
754        public HeuristicLab.Hive.Contracts.Response EndLogout(System.IAsyncResult result) {
755            return base.Channel.EndLogout(result);
756        }
757       
758        private System.IAsyncResult OnBeginLogout(object[] inValues, System.AsyncCallback callback, object asyncState) {
759            System.Guid clientId = ((System.Guid)(inValues[0]));
760            return this.BeginLogout(clientId, callback, asyncState);
761        }
762       
763        private object[] OnEndLogout(System.IAsyncResult result) {
764            HeuristicLab.Hive.Contracts.Response retVal = this.EndLogout(result);
765            return new object[] {
766                    retVal};
767        }
768       
769        private void OnLogoutCompleted(object state) {
770            if ((this.LogoutCompleted != null)) {
771                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
772                this.LogoutCompleted(this, new LogoutCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
773            }
774        }
775       
776        public void LogoutAsync(System.Guid clientId) {
777            this.LogoutAsync(clientId, null);
778        }
779       
780        public void LogoutAsync(System.Guid clientId, object userState) {
781            if ((this.onBeginLogoutDelegate == null)) {
782                this.onBeginLogoutDelegate = new BeginOperationDelegate(this.OnBeginLogout);
783            }
784            if ((this.onEndLogoutDelegate == null)) {
785                this.onEndLogoutDelegate = new EndOperationDelegate(this.OnEndLogout);
786            }
787            if ((this.onLogoutCompletedDelegate == null)) {
788                this.onLogoutCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnLogoutCompleted);
789            }
790            base.InvokeAsync(this.onBeginLogoutDelegate, new object[] {
791                        clientId}, this.onEndLogoutDelegate, this.onLogoutCompletedDelegate, userState);
792        }
793       
794        public HeuristicLab.Hive.Contracts.Response IsJobStillNeeded(System.Guid jobId) {
795            return base.Channel.IsJobStillNeeded(jobId);
796        }
797       
798        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
799        public System.IAsyncResult BeginIsJobStillNeeded(System.Guid jobId, System.AsyncCallback callback, object asyncState) {
800            return base.Channel.BeginIsJobStillNeeded(jobId, callback, asyncState);
801        }
802       
803        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
804        public HeuristicLab.Hive.Contracts.Response EndIsJobStillNeeded(System.IAsyncResult result) {
805            return base.Channel.EndIsJobStillNeeded(result);
806        }
807       
808        private System.IAsyncResult OnBeginIsJobStillNeeded(object[] inValues, System.AsyncCallback callback, object asyncState) {
809            System.Guid jobId = ((System.Guid)(inValues[0]));
810            return this.BeginIsJobStillNeeded(jobId, callback, asyncState);
811        }
812       
813        private object[] OnEndIsJobStillNeeded(System.IAsyncResult result) {
814            HeuristicLab.Hive.Contracts.Response retVal = this.EndIsJobStillNeeded(result);
815            return new object[] {
816                    retVal};
817        }
818       
819        private void OnIsJobStillNeededCompleted(object state) {
820            if ((this.IsJobStillNeededCompleted != null)) {
821                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
822                this.IsJobStillNeededCompleted(this, new IsJobStillNeededCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
823            }
824        }
825       
826        public void IsJobStillNeededAsync(System.Guid jobId) {
827            this.IsJobStillNeededAsync(jobId, null);
828        }
829       
830        public void IsJobStillNeededAsync(System.Guid jobId, object userState) {
831            if ((this.onBeginIsJobStillNeededDelegate == null)) {
832                this.onBeginIsJobStillNeededDelegate = new BeginOperationDelegate(this.OnBeginIsJobStillNeeded);
833            }
834            if ((this.onEndIsJobStillNeededDelegate == null)) {
835                this.onEndIsJobStillNeededDelegate = new EndOperationDelegate(this.OnEndIsJobStillNeeded);
836            }
837            if ((this.onIsJobStillNeededCompletedDelegate == null)) {
838                this.onIsJobStillNeededCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnIsJobStillNeededCompleted);
839            }
840            base.InvokeAsync(this.onBeginIsJobStillNeededDelegate, new object[] {
841                        jobId}, this.onEndIsJobStillNeededDelegate, this.onIsJobStillNeededCompletedDelegate, userState);
842        }
843       
844        public HeuristicLab.Hive.Contracts.ResponsePlugin SendPlugins(HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfo[] pluginList) {
845            return base.Channel.SendPlugins(pluginList);
846        }
847       
848        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
849        public System.IAsyncResult BeginSendPlugins(HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfo[] pluginList, System.AsyncCallback callback, object asyncState) {
850            return base.Channel.BeginSendPlugins(pluginList, callback, asyncState);
851        }
852       
853        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
854        public HeuristicLab.Hive.Contracts.ResponsePlugin EndSendPlugins(System.IAsyncResult result) {
855            return base.Channel.EndSendPlugins(result);
856        }
857       
858        private System.IAsyncResult OnBeginSendPlugins(object[] inValues, System.AsyncCallback callback, object asyncState) {
859            HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfo[] pluginList = ((HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfo[])(inValues[0]));
860            return this.BeginSendPlugins(pluginList, callback, asyncState);
861        }
862       
863        private object[] OnEndSendPlugins(System.IAsyncResult result) {
864            HeuristicLab.Hive.Contracts.ResponsePlugin retVal = this.EndSendPlugins(result);
865            return new object[] {
866                    retVal};
867        }
868       
869        private void OnSendPluginsCompleted(object state) {
870            if ((this.SendPluginsCompleted != null)) {
871                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
872                this.SendPluginsCompleted(this, new SendPluginsCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
873            }
874        }
875       
876        public void SendPluginsAsync(HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfo[] pluginList) {
877            this.SendPluginsAsync(pluginList, null);
878        }
879       
880        public void SendPluginsAsync(HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfo[] pluginList, object userState) {
881            if ((this.onBeginSendPluginsDelegate == null)) {
882                this.onBeginSendPluginsDelegate = new BeginOperationDelegate(this.OnBeginSendPlugins);
883            }
884            if ((this.onEndSendPluginsDelegate == null)) {
885                this.onEndSendPluginsDelegate = new EndOperationDelegate(this.OnEndSendPlugins);
886            }
887            if ((this.onSendPluginsCompletedDelegate == null)) {
888                this.onSendPluginsCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSendPluginsCompleted);
889            }
890            base.InvokeAsync(this.onBeginSendPluginsDelegate, new object[] {
891                        pluginList}, this.onEndSendPluginsDelegate, this.onSendPluginsCompletedDelegate, userState);
892        }
893       
894        public System.IO.Stream SendStreamedJob(System.Guid clientId) {
895            return base.Channel.SendStreamedJob(clientId);
896        }
897       
898        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
899        public System.IAsyncResult BeginSendStreamedJob(System.Guid clientId, System.AsyncCallback callback, object asyncState) {
900            return base.Channel.BeginSendStreamedJob(clientId, callback, asyncState);
901        }
902       
903        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
904        public System.IO.Stream EndSendStreamedJob(System.IAsyncResult result) {
905            return base.Channel.EndSendStreamedJob(result);
906        }
907       
908        private System.IAsyncResult OnBeginSendStreamedJob(object[] inValues, System.AsyncCallback callback, object asyncState) {
909            System.Guid clientId = ((System.Guid)(inValues[0]));
910            return this.BeginSendStreamedJob(clientId, callback, asyncState);
911        }
912       
913        private object[] OnEndSendStreamedJob(System.IAsyncResult result) {
914            System.IO.Stream retVal = this.EndSendStreamedJob(result);
915            return new object[] {
916                    retVal};
917        }
918       
919        private void OnSendStreamedJobCompleted(object state) {
920            if ((this.SendStreamedJobCompleted != null)) {
921                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
922                this.SendStreamedJobCompleted(this, new SendStreamedJobCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
923            }
924        }
925       
926        public void SendStreamedJobAsync(System.Guid clientId) {
927            this.SendStreamedJobAsync(clientId, null);
928        }
929       
930        public void SendStreamedJobAsync(System.Guid clientId, object userState) {
931            if ((this.onBeginSendStreamedJobDelegate == null)) {
932                this.onBeginSendStreamedJobDelegate = new BeginOperationDelegate(this.OnBeginSendStreamedJob);
933            }
934            if ((this.onEndSendStreamedJobDelegate == null)) {
935                this.onEndSendStreamedJobDelegate = new EndOperationDelegate(this.OnEndSendStreamedJob);
936            }
937            if ((this.onSendStreamedJobCompletedDelegate == null)) {
938                this.onSendStreamedJobCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSendStreamedJobCompleted);
939            }
940            base.InvokeAsync(this.onBeginSendStreamedJobDelegate, new object[] {
941                        clientId}, this.onEndSendStreamedJobDelegate, this.onSendStreamedJobCompletedDelegate, userState);
942        }
943       
944        public System.IO.Stream SendStreamedPlugins(HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfo[] pluginList) {
945            return base.Channel.SendStreamedPlugins(pluginList);
946        }
947       
948        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
949        public System.IAsyncResult BeginSendStreamedPlugins(HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfo[] pluginList, System.AsyncCallback callback, object asyncState) {
950            return base.Channel.BeginSendStreamedPlugins(pluginList, callback, asyncState);
951        }
952       
953        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
954        public System.IO.Stream EndSendStreamedPlugins(System.IAsyncResult result) {
955            return base.Channel.EndSendStreamedPlugins(result);
956        }
957       
958        private System.IAsyncResult OnBeginSendStreamedPlugins(object[] inValues, System.AsyncCallback callback, object asyncState) {
959            HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfo[] pluginList = ((HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfo[])(inValues[0]));
960            return this.BeginSendStreamedPlugins(pluginList, callback, asyncState);
961        }
962       
963        private object[] OnEndSendStreamedPlugins(System.IAsyncResult result) {
964            System.IO.Stream retVal = this.EndSendStreamedPlugins(result);
965            return new object[] {
966                    retVal};
967        }
968       
969        private void OnSendStreamedPluginsCompleted(object state) {
970            if ((this.SendStreamedPluginsCompleted != null)) {
971                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
972                this.SendStreamedPluginsCompleted(this, new SendStreamedPluginsCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
973            }
974        }
975       
976        public void SendStreamedPluginsAsync(HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfo[] pluginList) {
977            this.SendStreamedPluginsAsync(pluginList, null);
978        }
979       
980        public void SendStreamedPluginsAsync(HeuristicLab.Hive.Contracts.BusinessObjects.HivePluginInfo[] pluginList, object userState) {
981            if ((this.onBeginSendStreamedPluginsDelegate == null)) {
982                this.onBeginSendStreamedPluginsDelegate = new BeginOperationDelegate(this.OnBeginSendStreamedPlugins);
983            }
984            if ((this.onEndSendStreamedPluginsDelegate == null)) {
985                this.onEndSendStreamedPluginsDelegate = new EndOperationDelegate(this.OnEndSendStreamedPlugins);
986            }
987            if ((this.onSendStreamedPluginsCompletedDelegate == null)) {
988                this.onSendStreamedPluginsCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSendStreamedPluginsCompleted);
989            }
990            base.InvokeAsync(this.onBeginSendStreamedPluginsDelegate, new object[] {
991                        pluginList}, this.onEndSendStreamedPluginsDelegate, this.onSendStreamedPluginsCompletedDelegate, userState);
992        }
993       
994        public HeuristicLab.Hive.Contracts.ResponseResultReceived StoreFinishedJobResultStreamed(System.IO.Stream stream) {
995            return base.Channel.StoreFinishedJobResultStreamed(stream);
996        }
997       
998        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
999        public System.IAsyncResult BeginStoreFinishedJobResultStreamed(System.IO.Stream stream, System.AsyncCallback callback, object asyncState) {
1000            return base.Channel.BeginStoreFinishedJobResultStreamed(stream, callback, asyncState);
1001        }
1002       
1003        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
1004        public HeuristicLab.Hive.Contracts.ResponseResultReceived EndStoreFinishedJobResultStreamed(System.IAsyncResult result) {
1005            return base.Channel.EndStoreFinishedJobResultStreamed(result);
1006        }
1007       
1008        private System.IAsyncResult OnBeginStoreFinishedJobResultStreamed(object[] inValues, System.AsyncCallback callback, object asyncState) {
1009            System.IO.Stream stream = ((System.IO.Stream)(inValues[0]));
1010            return this.BeginStoreFinishedJobResultStreamed(stream, callback, asyncState);
1011        }
1012       
1013        private object[] OnEndStoreFinishedJobResultStreamed(System.IAsyncResult result) {
1014            HeuristicLab.Hive.Contracts.ResponseResultReceived retVal = this.EndStoreFinishedJobResultStreamed(result);
1015            return new object[] {
1016                    retVal};
1017        }
1018       
1019        private void OnStoreFinishedJobResultStreamedCompleted(object state) {
1020            if ((this.StoreFinishedJobResultStreamedCompleted != null)) {
1021                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
1022                this.StoreFinishedJobResultStreamedCompleted(this, new StoreFinishedJobResultStreamedCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
1023            }
1024        }
1025       
1026        public void StoreFinishedJobResultStreamedAsync(System.IO.Stream stream) {
1027            this.StoreFinishedJobResultStreamedAsync(stream, null);
1028        }
1029       
1030        public void StoreFinishedJobResultStreamedAsync(System.IO.Stream stream, object userState) {
1031            if ((this.onBeginStoreFinishedJobResultStreamedDelegate == null)) {
1032                this.onBeginStoreFinishedJobResultStreamedDelegate = new BeginOperationDelegate(this.OnBeginStoreFinishedJobResultStreamed);
1033            }
1034            if ((this.onEndStoreFinishedJobResultStreamedDelegate == null)) {
1035                this.onEndStoreFinishedJobResultStreamedDelegate = new EndOperationDelegate(this.OnEndStoreFinishedJobResultStreamed);
1036            }
1037            if ((this.onStoreFinishedJobResultStreamedCompletedDelegate == null)) {
1038                this.onStoreFinishedJobResultStreamedCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStoreFinishedJobResultStreamedCompleted);
1039            }
1040            base.InvokeAsync(this.onBeginStoreFinishedJobResultStreamedDelegate, new object[] {
1041                        stream}, this.onEndStoreFinishedJobResultStreamedDelegate, this.onStoreFinishedJobResultStreamedCompletedDelegate, userState);
1042        }
1043       
1044        public HeuristicLab.Hive.Contracts.ResponseResultReceived ProcessSnapshotStreamed(System.IO.Stream stream) {
1045            return base.Channel.ProcessSnapshotStreamed(stream);
1046        }
1047       
1048        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
1049        public System.IAsyncResult BeginProcessSnapshotStreamed(System.IO.Stream stream, System.AsyncCallback callback, object asyncState) {
1050            return base.Channel.BeginProcessSnapshotStreamed(stream, callback, asyncState);
1051        }
1052       
1053        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
1054        public HeuristicLab.Hive.Contracts.ResponseResultReceived EndProcessSnapshotStreamed(System.IAsyncResult result) {
1055            return base.Channel.EndProcessSnapshotStreamed(result);
1056        }
1057       
1058        private System.IAsyncResult OnBeginProcessSnapshotStreamed(object[] inValues, System.AsyncCallback callback, object asyncState) {
1059            System.IO.Stream stream = ((System.IO.Stream)(inValues[0]));
1060            return this.BeginProcessSnapshotStreamed(stream, callback, asyncState);
1061        }
1062       
1063        private object[] OnEndProcessSnapshotStreamed(System.IAsyncResult result) {
1064            HeuristicLab.Hive.Contracts.ResponseResultReceived retVal = this.EndProcessSnapshotStreamed(result);
1065            return new object[] {
1066                    retVal};
1067        }
1068       
1069        private void OnProcessSnapshotStreamedCompleted(object state) {
1070            if ((this.ProcessSnapshotStreamedCompleted != null)) {
1071                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
1072                this.ProcessSnapshotStreamedCompleted(this, new ProcessSnapshotStreamedCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
1073            }
1074        }
1075       
1076        public void ProcessSnapshotStreamedAsync(System.IO.Stream stream) {
1077            this.ProcessSnapshotStreamedAsync(stream, null);
1078        }
1079       
1080        public void ProcessSnapshotStreamedAsync(System.IO.Stream stream, object userState) {
1081            if ((this.onBeginProcessSnapshotStreamedDelegate == null)) {
1082                this.onBeginProcessSnapshotStreamedDelegate = new BeginOperationDelegate(this.OnBeginProcessSnapshotStreamed);
1083            }
1084            if ((this.onEndProcessSnapshotStreamedDelegate == null)) {
1085                this.onEndProcessSnapshotStreamedDelegate = new EndOperationDelegate(this.OnEndProcessSnapshotStreamed);
1086            }
1087            if ((this.onProcessSnapshotStreamedCompletedDelegate == null)) {
1088                this.onProcessSnapshotStreamedCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnProcessSnapshotStreamedCompleted);
1089            }
1090            base.InvokeAsync(this.onBeginProcessSnapshotStreamedDelegate, new object[] {
1091                        stream}, this.onEndProcessSnapshotStreamedDelegate, this.onProcessSnapshotStreamedCompletedDelegate, userState);
1092        }
1093    }
1094}
Note: See TracBrowser for help on using the repository browser.