Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/06/10 09:20:18 (14 years ago)
Author:
cneumuel
Message:

refactoring of Result-Polling of HiveExperiment, polling is now much faster and code is cleaner (1092#)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Client.Communication/3.3/WcfService.cs

    r4119 r4170  
    292292    public void ProcessSnapshotAsync(Guid clientId, Guid jobId, byte[] result, double percentage, Exception exception, bool finished) {
    293293      if (ConnState == NetworkEnum.WcfConnState.Loggedin) {
    294         Stream stream = GetStreamedJobResult(
    295             clientId, jobId, result, percentage, exception);
    296 
     294        Stream stream = GetStreamedJobResult(clientId, jobId, result, percentage, exception);
    297295        proxy.ProcessSnapshotStreamedAsync(stream, stream);
    298296      }
     
    353351      jobResult.JobId = jobId;
    354352      jobResult.Percentage = percentage;
    355       jobResult.Exception = exception;
     353      jobResult.Exception = exception != null ? exception.Message : "";
    356354
    357355      MultiStream stream = new MultiStream();
Note: See TracChangeset for help on using the changeset viewer.