Changeset 1103 for trunk/sources/HeuristicLab.Hive.Client.Communication/Service References/ServerService/Reference.cs
- Timestamp:
- 01/08/09 18:26:46 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Client.Communication/Service References/ServerService/Reference.cs
r1007 r1103 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( HeuristicLab.Hive.Contracts.BusinessObjects.JobResult result, bool finished);46 HeuristicLab.Hive.Contracts.ResponseResultReceived SendJobResult(System.Guid clientId, long jobId, byte[] result, 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( HeuristicLab.Hive.Contracts.BusinessObjects.JobResult result, bool finished, System.AsyncCallback callback, object asyncState);49 System.IAsyncResult BeginSendJobResult(System.Guid clientId, long jobId, byte[] result, 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( HeuristicLab.Hive.Contracts.BusinessObjects.JobResult result, bool finished) {378 return base.Channel.SendJobResult( result, finished);379 } 380 381 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] 382 public System.IAsyncResult BeginSendJobResult( HeuristicLab.Hive.Contracts.BusinessObjects.JobResult result, bool finished, System.AsyncCallback callback, object asyncState) {383 return base.Channel.BeginSendJobResult( result, finished, callback, asyncState);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); 384 384 } 385 385 … … 390 390 391 391 private System.IAsyncResult OnBeginSendJobResult(object[] inValues, System.AsyncCallback callback, object asyncState) { 392 HeuristicLab.Hive.Contracts.BusinessObjects.JobResult result = ((HeuristicLab.Hive.Contracts.BusinessObjects.JobResult)(inValues[0])); 393 bool finished = ((bool)(inValues[1])); 394 return this.BeginSendJobResult(result, finished, callback, asyncState); 392 System.Guid clientId = ((System.Guid)(inValues[0])); 393 long jobId = ((long)(inValues[1])); 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 398 } 396 399 … … 408 411 } 409 412 410 public void SendJobResultAsync( HeuristicLab.Hive.Contracts.BusinessObjects.JobResult result, bool finished) {411 this.SendJobResultAsync( result, finished, null);412 } 413 414 public void SendJobResultAsync( HeuristicLab.Hive.Contracts.BusinessObjects.JobResult result, bool finished, object userState) {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) { 415 418 if ((this.onBeginSendJobResultDelegate == null)) { 416 419 this.onBeginSendJobResultDelegate = new BeginOperationDelegate(this.OnBeginSendJobResult); … … 423 426 } 424 427 base.InvokeAsync(this.onBeginSendJobResultDelegate, new object[] { 428 clientId, 429 jobId, 425 430 result, 431 exception, 426 432 finished}, this.onEndSendJobResultDelegate, this.onSendJobResultCompletedDelegate, userState); 427 433 }
Note: See TracChangeset
for help on using the changeset viewer.