Changeset 1147 for trunk/sources/HeuristicLab.Hive.Client.Communication/Service References/ServerService/Reference.cs
- Timestamp:
- 01/15/09 16:28:23 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Client.Communication/Service References/ServerService/Reference.cs
r1103 r1147 44 44 45 45 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientCommunicator/SendJobResult", ReplyAction="http://tempuri.org/IClientCommunicator/SendJobResultResponse")] 46 HeuristicLab.Hive.Contracts.ResponseResultReceived SendJobResult(System.Guid clientId, long jobId, byte[] result, System.Exception exception, bool finished);46 HeuristicLab.Hive.Contracts.ResponseResultReceived SendJobResult(System.Guid clientId, long jobId, byte[] result, double percentage, System.Exception exception, bool finished); 47 47 48 48 [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientCommunicator/SendJobResult", ReplyAction="http://tempuri.org/IClientCommunicator/SendJobResultResponse")] 49 System.IAsyncResult BeginSendJobResult(System.Guid clientId, long jobId, byte[] result, System.Exception exception, bool finished, System.AsyncCallback callback, object asyncState);49 System.IAsyncResult BeginSendJobResult(System.Guid clientId, long jobId, byte[] result, double percentage, System.Exception exception, bool finished, System.AsyncCallback callback, object asyncState); 50 50 51 51 HeuristicLab.Hive.Contracts.ResponseResultReceived EndSendJobResult(System.IAsyncResult result); … … 375 375 } 376 376 377 public HeuristicLab.Hive.Contracts.ResponseResultReceived SendJobResult(System.Guid clientId, long jobId, byte[] result, System.Exception exception, bool finished) {378 return base.Channel.SendJobResult(clientId, jobId, result, exception, finished);379 } 380 381 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] 382 public System.IAsyncResult BeginSendJobResult(System.Guid clientId, long jobId, byte[] result, System.Exception exception, bool finished, System.AsyncCallback callback, object asyncState) {383 return base.Channel.BeginSendJobResult(clientId, jobId, result, exception, finished, callback, asyncState);377 public HeuristicLab.Hive.Contracts.ResponseResultReceived SendJobResult(System.Guid clientId, long jobId, byte[] result, double percentage, System.Exception exception, bool finished) { 378 return base.Channel.SendJobResult(clientId, jobId, result, percentage, exception, finished); 379 } 380 381 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] 382 public System.IAsyncResult BeginSendJobResult(System.Guid clientId, long jobId, byte[] result, double percentage, System.Exception exception, bool finished, System.AsyncCallback callback, object asyncState) { 383 return base.Channel.BeginSendJobResult(clientId, jobId, result, percentage, exception, finished, callback, asyncState); 384 384 } 385 385 … … 393 393 long jobId = ((long)(inValues[1])); 394 394 byte[] result = ((byte[])(inValues[2])); 395 System.Exception exception = ((System.Exception)(inValues[3])); 396 bool finished = ((bool)(inValues[4])); 397 return this.BeginSendJobResult(clientId, jobId, result, exception, finished, callback, asyncState); 395 double percentage = ((double)(inValues[3])); 396 System.Exception exception = ((System.Exception)(inValues[4])); 397 bool finished = ((bool)(inValues[5])); 398 return this.BeginSendJobResult(clientId, jobId, result, percentage, exception, finished, callback, asyncState); 398 399 } 399 400 … … 411 412 } 412 413 413 public void SendJobResultAsync(System.Guid clientId, long jobId, byte[] result, System.Exception exception, bool finished) {414 this.SendJobResultAsync(clientId, jobId, result, exception, finished, null);415 } 416 417 public void SendJobResultAsync(System.Guid clientId, long jobId, byte[] result, System.Exception exception, bool finished, object userState) {414 public void SendJobResultAsync(System.Guid clientId, long jobId, byte[] result, double percentage, System.Exception exception, bool finished) { 415 this.SendJobResultAsync(clientId, jobId, result, percentage, exception, finished, null); 416 } 417 418 public void SendJobResultAsync(System.Guid clientId, long jobId, byte[] result, double percentage, System.Exception exception, bool finished, object userState) { 418 419 if ((this.onBeginSendJobResultDelegate == null)) { 419 420 this.onBeginSendJobResultDelegate = new BeginOperationDelegate(this.OnBeginSendJobResult); … … 429 430 jobId, 430 431 result, 432 percentage, 431 433 exception, 432 434 finished}, this.onEndSendJobResultDelegate, this.onSendJobResultCompletedDelegate, userState);
Note: See TracChangeset
for help on using the changeset viewer.