Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/19/10 09:17:24 (15 years ago)
Author:
kgrading
Message:

added minor speedups and better transaction handling to the server (#828)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/sources/HeuristicLab.Hive.Client.Communication/3.2/WcfService.cs

    r3578 r3931  
    326326    #region Heartbeat
    327327
    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) {
    330330      if (ConnState == NetworkEnum.WcfConnState.Loggedin)
    331331        Logger.Debug("STARTING: sending heartbeat");
     
    334334
    335335    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);
    338338        Logger.Debug("ENDED: sending heartbeats");
    339339      } else {
     
    376376    }
    377377
    378     public ResponseResultReceived SendStoredJobResultsSync(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) {     
    379379      return proxy.StoreFinishedJobResultStreamed(
    380380        GetStreamedJobResult(clientId, jobId, result, percentage, exception));
Note: See TracChangeset for help on using the changeset viewer.