Changeset 1637


Ignore:
Timestamp:
04/23/09 16:59:23 (12 years ago)
Author:
msteinbi
Message:

added wcf annotations to cached hive plugininfo (#531)

Location:
trunk/sources
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Contracts/3.2/BusinessObjects/CachedHivePluginInfo.cs

    r1596 r1637  
    2424using System.Text;
    2525using HeuristicLab.Hive.Contracts.BusinessObjects;
     26using System.Runtime.Serialization;
    2627
    2728namespace HeuristicLab.PluginInfrastructure {
     29  [DataContract]
    2830  public class CachedHivePluginInfo : HivePluginInfo {
    2931
     
    3234    /// stores the plugin files in a list of byte arrays
    3335    /// </summary>
     36    [DataMember]
    3437    public List<byte[]> PluginFiles {
    3538      get { return pluginFiles; }
  • trunk/sources/HeuristicLab.Hive.Server.Core/3.2/ClientCommunicator.cs

    r1630 r1637  
    580580    public ResponsePlugin SendPlugins(List<HivePluginInfo> pluginList) {
    581581      ResponsePlugin response = new ResponsePlugin();
     582      PluginManager.Manager.Initialize();
    582583      ICollection<PluginInfo> allActivePlugins = PluginManager.Manager.ActivePlugins;
    583584
    584585      foreach (HivePluginInfo pluginInfo in pluginList) {
     586        // TODO: BuildDate deleted, not needed???
     587        // TODO: Split version to major, minor and revision number
    585588        foreach (PluginInfo currPlugin in allActivePlugins) {
    586589          if (currPlugin.Name == pluginInfo.Name
    587               && currPlugin.Version.ToString() == pluginInfo.Version
    588               && currPlugin.BuildDate == pluginInfo.BuildDate) {
     590              && currPlugin.Version.ToString() == pluginInfo.Version) {
    589591
    590592            CachedHivePluginInfo currCachedPlugin = new CachedHivePluginInfo {
Note: See TracChangeset for help on using the changeset viewer.