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