Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/15/09 16:28:23 (16 years ago)
Author:
kgrading
Message:

work for ticket #467

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Client.Communication/Service References/ServerService/Reference.cs

    r1103 r1147  
    4444       
    4545        [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);
    4747       
    4848        [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);
    5050       
    5151        HeuristicLab.Hive.Contracts.ResponseResultReceived EndSendJobResult(System.IAsyncResult result);
     
    375375        }
    376376       
    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);
    384384        }
    385385       
     
    393393            long jobId = ((long)(inValues[1]));
    394394            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);
    398399        }
    399400       
     
    411412        }
    412413       
    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) {
    418419            if ((this.onBeginSendJobResultDelegate == null)) {
    419420                this.onBeginSendJobResultDelegate = new BeginOperationDelegate(this.OnBeginSendJobResult);
     
    429430                        jobId,
    430431                        result,
     432                        percentage,
    431433                        exception,
    432434                        finished}, this.onEndSendJobResultDelegate, this.onSendJobResultCompletedDelegate, userState);
Note: See TracChangeset for help on using the changeset viewer.