Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/28/09 14:28:30 (15 years ago)
Author:
svonolfe
Message:

Fixed issue related to the streaming of results (#680)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Server.Core/3.2/ClientFacade.cs

    r2117 r2122  
    124124
    125125    public ResponseResultReceived StoreFinishedJobResultStreamed(Stream stream) {
    126       BinaryFormatter formatter =
    127           new BinaryFormatter();
    128 
    129       JobResult result =
    130         (JobResult)formatter.Deserialize(stream);
    131 
    132126      return ((IInternalClientCommunicator)
    133         clientCommunicator).ProcessJobResult(
    134           result, stream, true);
     127        clientCommunicator).ProcessJobResult(stream, true);
    135128    }
    136129
    137130    public ResponseResultReceived ProcessSnapshotStreamed(Stream stream) {
    138       BinaryFormatter formatter =
    139           new BinaryFormatter();
    140 
    141       JobResult result =
    142         (JobResult)formatter.Deserialize(stream);
    143 
    144131      return ((IInternalClientCommunicator)
    145         clientCommunicator).ProcessJobResult(
    146           result, stream, false);
     132        clientCommunicator).ProcessJobResult(stream, false);
    147133    }
    148134
Note: See TracChangeset for help on using the changeset viewer.