Changeset 1367 for trunk/sources/HeuristicLab.Hive.Client.Communication
- Timestamp:
- 03/19/09 16:11:26 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Client.Communication/WcfService.cs
r1366 r1367 168 168 /// </summary> 169 169 #region PullJob 170 public event System.EventHandler<SendJobCompletedEventArgs> PullJobCompleted;171 public void PullJobAsync(Guid guid) {170 public event System.EventHandler<SendJobCompletedEventArgs> SendJobCompleted; 171 public void SendJobAsync(Guid guid) { 172 172 if (ConnState == NetworkEnum.WcfConnState.Loggedin) 173 173 proxy.SendJobAsync(guid); … … 175 175 void proxy_SendJobCompleted(object sender, SendJobCompletedEventArgs e) { 176 176 if (e.Error == null) 177 PullJobCompleted(sender, e);177 SendJobCompleted(sender, e); 178 178 else 179 179 NetworkErrorHandling(e.Error); … … 185 185 /// </summary> 186 186 #region SendJobResults 187 public event System.EventHandler<ProcessJobResultCompletedEventArgs> SendJobResultCompleted;188 public void SendJobResultAsync(Guid clientId, long jobId, byte[] result, double percentage, Exception exception, bool finished) {187 public event System.EventHandler<ProcessJobResultCompletedEventArgs> ProcessJobResultCompleted; 188 public void ProcessJobResultAsync(Guid clientId, long jobId, byte[] result, double percentage, Exception exception, bool finished) { 189 189 if (ConnState == NetworkEnum.WcfConnState.Loggedin) 190 190 proxy.ProcessJobResultAsync(clientId, jobId, result, percentage, exception, finished); … … 192 192 private void proxy_ProcessJobResultCompleted(object sender, ProcessJobResultCompletedEventArgs e) { 193 193 if (e.Error == null) 194 SendJobResultCompleted(sender, e);194 ProcessJobResultCompleted(sender, e); 195 195 else 196 196 NetworkErrorHandling(e.Error); … … 223 223 /// </summary> 224 224 #region SendJobResults 225 public event System.EventHandler<ProcessJobResultCompletedEventArgs> SendStoredJobResultCompleted;226 public void SendStoredJobResultAsync(Guid clientId, long jobId, byte[] result, double percentage, Exception exception, bool finished) {225 public event System.EventHandler<ProcessJobResultCompletedEventArgs> ProcessStoredJobResultCompleted; 226 public void ProcessStoredJobResultAsync(Guid clientId, long jobId, byte[] result, double percentage, Exception exception, bool finished) { 227 227 if (ConnState == NetworkEnum.WcfConnState.Loggedin) 228 228 //TODO: some sort of algo for the stored jobs
Note: See TracChangeset
for help on using the changeset viewer.