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 @ 4170

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

refactoring of Result-Polling of HiveExperiment, polling is now much faster and code is cleaner (1092#)

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