Free cookie consent management tool by TermsFeed Policy Generator

Changeset 1445


Ignore:
Timestamp:
03/27/09 13:31:53 (16 years ago)
Author:
msteinbi
Message:

Changed interface for plugin transfer (#531)

Location:
trunk/sources
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Contracts/Interfaces/IClientCommunicator.cs

    r1374 r1445  
    2626using System.ServiceModel;
    2727using HeuristicLab.Hive.Contracts.BusinessObjects;
     28using HeuristicLab.PluginInfrastructure;
    2829
    2930namespace HeuristicLab.Hive.Contracts.Interfaces {
     
    5657    Response IsJobStillNeeded(long jobId);
    5758    [OperationContract]
    58     ResponsePlugin SendPlugins(List<String> pluginList);
     59    ResponsePlugin SendPlugins(List<PluginInfo> pluginList);
    5960  }
    6061}
  • trunk/sources/HeuristicLab.Hive.Contracts/ResponsePlugin.cs

    r1369 r1445  
    44using System.Text;
    55using System.Runtime.Serialization;
     6using HeuristicLab.PluginInfrastructure;
    67
    78namespace HeuristicLab.Hive.Contracts {
     
    1011  public class ResponsePlugin : Response {
    1112    [DataMember]
    12     public byte[] Plugins { get; set; }
     13    public List<CachedPlugin> Plugins { get; set; }
    1314  }
    1415}
  • trunk/sources/HeuristicLab.Hive.Server.Core/ClientCommunicator.cs

    r1377 r1445  
    3434using HeuristicLab.Hive.Server.Core.InternalInterfaces;
    3535using System.Threading;
     36using HeuristicLab.PluginInfrastructure;
    3637
    3738namespace HeuristicLab.Hive.Server.Core {
     
    412413    }
    413414
    414     public ResponsePlugin SendPlugins(List<string> pluginList) {
     415    public ResponsePlugin SendPlugins(List<PluginInfo> pluginList) {
    415416      throw new NotImplementedException();
    416417    }
  • trunk/sources/HeuristicLab.Hive.Server.Core/ClientFacade.cs

    r1374 r1445  
    2727using HeuristicLab.Hive.Contracts.BusinessObjects;
    2828using HeuristicLab.Hive.Contracts;
     29using HeuristicLab.PluginInfrastructure;
    2930
    3031namespace HeuristicLab.Hive.Server.Core {
     
    6465    }
    6566
    66     public ResponsePlugin SendPlugins(List<string> pluginList) {
     67    public ResponsePlugin SendPlugins(List<PluginInfo> pluginList) {
    6768      return clientCommunicator.SendPlugins(pluginList);
    6869    }
Note: See TracChangeset for help on using the changeset viewer.