- Timestamp:
- 06/19/10 09:17:24 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/sources/HeuristicLab.Hive.Client.Communication/3.2/WcfService.cs
r3578 r3931 326 326 #region Heartbeat 327 327 328 public event System.EventHandler<ProcessHeartBeatCompletedEventArgs> SendHeartBeatCompleted;329 public void SendHeartBeatAsync(HeartBeatData hbd) {328 public event System.EventHandler<ProcessHeartBeatCompletedEventArgs> ProcessHeartBeatCompleted; 329 public void ProcessHeartBeatAsync(HeartBeatData hbd) { 330 330 if (ConnState == NetworkEnum.WcfConnState.Loggedin) 331 331 Logger.Debug("STARTING: sending heartbeat"); … … 334 334 335 335 private void proxy_ProcessHeartBeatCompleted(object sender, ProcessHeartBeatCompletedEventArgs e) { 336 if (e.Error == null && e.Result.Success == true) {337 SendHeartBeatCompleted(sender, e);336 if (e.Error == null && e.Result.Success) { 337 ProcessHeartBeatCompleted(sender, e); 338 338 Logger.Debug("ENDED: sending heartbeats"); 339 339 } else { … … 376 376 } 377 377 378 public ResponseResultReceived S endStoredJobResultsSync(Guid clientId, Guid jobId, byte[] result, double percentage, Exception exception, bool finished) {378 public ResponseResultReceived StoreFinishedJobResultsSync(Guid clientId, Guid jobId, byte[] result, double percentage, Exception exception, bool finished) { 379 379 return proxy.StoreFinishedJobResultStreamed( 380 380 GetStreamedJobResult(clientId, jobId, result, percentage, exception));
Note: See TracChangeset
for help on using the changeset viewer.