Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/27/09 14:31:57 (15 years ago)
Author:
kgrading
Message:

first implementation (#547)

File:
1 edited

Legend:

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

    r1449 r1450  
    3030using HeuristicLab.Hive.Client.Common;
    3131using HeuristicLab.Hive.Client.Communication.ServerService;
     32using HeuristicLab.PluginInfrastructure;
    3233
    3334namespace HeuristicLab.Hive.Client.Communication {
     
    249250
    250251    public ResponseResultReceived SendStoredJobResultsSync(Guid clientId, Guid jobId, byte[] result, double percentage, Exception exception, bool finished) {
    251       return proxy.StoreFinishedJobResult(clientId, jobId, result, percentage, exception);
    252     }
     252      return proxy.StoreFinishedJobResult(clientId, jobId, result, percentage, exception);   
     253    }
     254
     255    public List<CachedPlugin> RequestPlugins(List<PluginInfo> requestedPlugins) {
     256      try {
     257        return proxy.SendPlugins(requestedPlugins.ToArray()).Plugins;
     258      }
     259      catch (Exception e) {
     260        HandleNetworkError(e);
     261        return null;
     262      }
     263    }
     264
    253265  }
    254266}
Note: See TracChangeset for help on using the changeset viewer.