Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Client.Communication/3.3/Service References/ServerService/Reference.cs @ 4107

Last change on this file since 4107 was 4107, checked in by cneumuel, 12 years ago

migration from 3.2 to 3.3 completed. Hive Server and Client are now executable and as functional as they were in 3.2. (#1096)

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