Changeset 17097 for stable/HeuristicLab.Clients.Hive
- Timestamp:
- 07/07/19 23:40:10 (5 years ago)
- Location:
- stable
- Files:
-
- 55 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
stable
-
stable/HeuristicLab.Clients.Hive
- Property svn:mergeinfo changed
/branches/2520_PersistenceReintegration/HeuristicLab.Clients.Hive (added) merged: 16452-16454,16462,16480,16529,16539,16553,16558-16559 /trunk/HeuristicLab.Clients.Hive merged: 16565,16568
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Clients.Hive/3.3/ConcurrentTaskDownloader.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/ConcurrentTaskDownloaderException.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/Exceptions/AddTaskToHiveException.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/Exceptions/AnonymousUserException.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/Exceptions/HiveException.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/Exceptions/OptimizerNotFoundException.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/Exceptions/ResourceNotFoundException.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/Exceptions/ServiceClientFactoryException.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/Exceptions/TaskResultPollingException.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/HeuristicLab.Clients.Hive-3.3.csproj
r17062 r17097 11 11 <RootNamespace>HeuristicLab.Clients.Hive</RootNamespace> 12 12 <AssemblyName>HeuristicLab.Clients.Hive-3.3</AssemblyName> 13 <TargetFrameworkVersion>v4. 5</TargetFrameworkVersion>13 <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> 14 14 <FileAlignment>512</FileAlignment> 15 15 <TargetFrameworkProfile /> … … 107 107 </PropertyGroup> 108 108 <ItemGroup> 109 <Reference Include="Google.Protobuf, Version=3.6.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL"> 110 <HintPath>..\..\packages\Google.Protobuf.3.6.1\lib\net45\Google.Protobuf.dll</HintPath> 111 </Reference> 112 <Reference Include="HEAL.Attic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 113 <HintPath>..\..\packages\HEAL.Attic.1.0.0-pre02\lib\net461\HEAL.Attic.dll</HintPath> 114 </Reference> 109 115 <Reference Include="System" /> 110 116 <Reference Include="System.Configuration" /> 111 117 <Reference Include="System.Core" /> 112 118 <Reference Include="System.Drawing" /> 119 <Reference Include="System.Drawing.Common, Version=4.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> 120 <HintPath>..\..\packages\System.Drawing.Common.4.5.1\lib\net461\System.Drawing.Common.dll</HintPath> 121 </Reference> 113 122 <Reference Include="System.Runtime.Remoting" /> 114 123 <Reference Include="System.Runtime.Serialization" /> … … 143 152 <SubType>Designer</SubType> 144 153 </None> 154 <None Include="packages.config" /> 145 155 <None Include="Plugin.cs.frame" /> 146 156 <Compile Include="Exceptions\AddTaskToHiveException.cs" /> -
stable/HeuristicLab.Clients.Hive/3.3/HiveAdminClient.cs
r17067 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/HiveClient.cs
r17062 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 6Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/HiveServiceLocator.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/HiveTasks/EngineHiveTask.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/HiveTasks/HiveTask.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 29 29 using HeuristicLab.Common; 30 30 using HeuristicLab.Core; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Attic; 32 32 using HeuristicLab.PluginInfrastructure; 33 33 … … 35 35 36 36 [Item("Hive Task", "Represents a hive task.")] 37 [Storable Class]37 [StorableType("AB546F71-AB78-44AF-9954-1A269D278C56")] 38 38 public class HiveTask : NamedItem, IItemTree<HiveTask>, IDisposable { 39 39 protected static object locker = new object(); … … 170 170 #region Constructors and Cloning 171 171 [StorableConstructor] 172 protected HiveTask( bool deserializing) { }172 protected HiveTask(StorableConstructorFlag _) : base(_) { } 173 173 174 174 public HiveTask() … … 541 541 542 542 [Item("Hive Task", "Represents a hive task.")] 543 [Storable Class]543 [StorableType("F185C6FD-7282-4EE1-9F76-C4DD32C69207")] 544 544 public class HiveTask<T> : HiveTask where T : ItemTask { 545 545 … … 552 552 public HiveTask() : base() { } 553 553 [StorableConstructor] 554 protected HiveTask( bool deserializing) { }554 protected HiveTask(StorableConstructorFlag _) : base(_) { } 555 555 public HiveTask(T itemTask) : base(itemTask, true) { } 556 556 protected HiveTask(HiveTask<T> original, Cloner cloner) -
stable/HeuristicLab.Clients.Hive/3.3/HiveTasks/OptimizerHiveTask.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/IHiveServiceLocator.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/JobResultPoller.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/Plugin.cs.frame
r17062 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/Properties/AssemblyInfo.cs.frame
r15587 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/RefreshableJob.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/ScopeExtensions.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/ServiceClients/Downtime.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/ServiceClients/Heartbeat.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/ServiceClients/HiveItem.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/ServiceClients/HiveItemCollection.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/ServiceClients/IHiveItem.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/ServiceClients/Job.cs
r17059 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/ServiceClients/JobPermission.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/ServiceClients/LightweightTask.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 24 24 using System.Linq; 25 25 using HeuristicLab.Common; 26 using HEAL.Attic; 26 27 27 28 namespace HeuristicLab.Clients.Hive { 29 [StorableType("35B1D7FC-0A94-48E0-A17D-888C2AFE58D9")] 28 30 public partial class LightweightTask : IDeepCloneable, IContent { 29 31 public StateLog CurrentStateLog { get { return StateLog.LastOrDefault(); } } -
stable/HeuristicLab.Clients.Hive/3.3/ServiceClients/MessageContainer.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/ServiceClients/NamedHiveItem.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/ServiceClients/Plugin.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/ServiceClients/PluginData.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/ServiceClients/Project.cs
r17059 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 7Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/ServiceClients/Resource.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/ServiceClients/ResourcePermission.cs
r17059 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/ServiceClients/Slave.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/ServiceClients/SlaveGroup.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/ServiceClients/StateLog.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/ServiceClients/Task.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using System.Collections.Generic; 24 24 using HeuristicLab.Common; 25 using HEAL.Attic; 25 26 26 27 namespace HeuristicLab.Clients.Hive { 28 [StorableType("2590428E-5F97-48EC-AE82-E2F614BEF34C")] 27 29 public partial class Task : LightweightTask { 28 30 -
stable/HeuristicLab.Clients.Hive/3.3/ServiceClients/TaskData.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/ServiceClients/UserPriority.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/StateLogList.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 27 27 namespace HeuristicLab.Clients.Hive { 28 [Storable Class]28 [StorableType("A7A58A86-6059-4364-AD3B-BA439CB85101")] 29 29 public class StateLogList : ItemList<StateLog> { 30 30 31 31 [StorableConstructor] 32 protected StateLogList( bool deserializing) : base(deserializing) { }32 protected StateLogList(StorableConstructorFlag _) : base(_) { } 33 33 public StateLogList() : base() { } 34 34 protected StateLogList(StateLogList original, Cloner cloner) : base(original, cloner) { } -
stable/HeuristicLab.Clients.Hive/3.3/StateLogListList.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 27 27 namespace HeuristicLab.Clients.Hive { 28 [Storable Class]28 [StorableType("DE613E80-EA09-4F5E-AB15-2E830866FCE3")] 29 29 public class StateLogListList : ItemList<StateLogList> { 30 30 31 31 [StorableConstructor] 32 protected StateLogListList( bool deserializing) : base(deserializing) { }32 protected StateLogListList(StorableConstructorFlag _) : base(_) { } 33 33 public StateLogListList() : base() { } 34 34 protected StateLogListList(StateLogListList original, Cloner cloner) : base(original, cloner) { } -
stable/HeuristicLab.Clients.Hive/3.3/TaskDownloader.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/Tasks/EngineTask.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 24 24 using HeuristicLab.Common; 25 25 using HeuristicLab.Core; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Clients.Hive { 29 [Storable Class]29 [StorableType("FFDE8A4B-FDEC-47AA-B8E2-B16E5B513055")] 30 30 public class EngineTask : ItemTask { 31 31 public override HiveTask CreateHiveTask() { … … 63 63 64 64 [StorableConstructor] 65 protected EngineTask( bool deserializing) : base(deserializing) { }65 protected EngineTask(StorableConstructorFlag _) : base(_) { } 66 66 protected EngineTask(EngineTask original, Cloner cloner) 67 67 : base(original, cloner) { -
stable/HeuristicLab.Clients.Hive/3.3/Tasks/ItemTask.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 using HeuristicLab.Core; 27 27 using HeuristicLab.Hive; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 using HeuristicLab.PluginInfrastructure; 30 30 31 31 namespace HeuristicLab.Clients.Hive { 32 32 [Item("Item Task", "Represents a executable hive task which contains a HeuristicLab Item.")] 33 [Storable Class]33 [StorableType("69EB65A5-9132-41B6-BE1D-60EDA46EF3C5")] 34 34 public abstract class ItemTask : NamedItem, ITask { 35 35 public virtual HiveTask CreateHiveTask() { … … 72 72 73 73 [StorableConstructor] 74 protected ItemTask( bool deserializing) { }74 protected ItemTask(StorableConstructorFlag _) : base(_) { } 75 75 protected ItemTask(ItemTask original, Cloner cloner) 76 76 : base(original, cloner) { -
stable/HeuristicLab.Clients.Hive/3.3/Tasks/OptimizerTask.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Optimization; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Clients.Hive.Jobs { 29 29 [Item("Optimizer Task", "Represents Task which executes a IOptimizer object.")] 30 [Storable Class]30 [StorableType("9A59FAAF-3F5C-4629-B22D-714488DC2678")] 31 31 public class OptimizerTask : ItemTask { 32 32 public override HiveTask CreateHiveTask() { … … 60 60 } 61 61 [StorableConstructor] 62 protected OptimizerTask( bool deserializing) { }62 protected OptimizerTask(StorableConstructorFlag _) : base(_) { } 63 63 protected OptimizerTask(OptimizerTask original, Cloner cloner) 64 64 : base(original, cloner) { -
stable/HeuristicLab.Clients.Hive/3.3/TreeView/IItemTree.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/TreeView/IItemTreeAction.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/Util/PersistenceUtil.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using System.Collections.Generic; 24 24 using System.IO; 25 using H euristicLab.Persistence.Core;25 using HEAL.Attic; 26 26 using HeuristicLab.Persistence.Default.Xml; 27 27 … … 29 29 public static class PersistenceUtil { 30 30 public static byte[] Serialize(object obj, out IEnumerable<Type> types) { 31 using (MemoryStream memStream = new MemoryStream()) { 32 XmlGenerator.Serialize(obj, memStream, ConfigurationService.Instance.GetConfiguration(new XmlFormat()), false, out types); 33 byte[] jobByteArray = memStream.ToArray(); 34 return jobByteArray; 35 } 31 var ser = new ProtoBufSerializer(); 32 var bytes = ser.Serialize(obj, out SerializationInfo info); 33 types = info.SerializedTypes; 34 return bytes; 36 35 } 37 36 38 37 public static byte[] Serialize(object obj) { 39 using (MemoryStream memStream = new MemoryStream()) { 40 XmlGenerator.Serialize(obj, memStream); 41 byte[] jobByteArray = memStream.ToArray(); 42 return jobByteArray; 43 } 38 var ser = new ProtoBufSerializer(); 39 return ser.Serialize(obj); 44 40 } 45 41 46 42 public static T Deserialize<T>(byte[] sjob) { 47 using (MemoryStream memStream = new MemoryStream(sjob)) { 48 T job = XmlParser.Deserialize<T>(memStream); 49 return job; 43 var ser = new ProtoBufSerializer(); 44 try { 45 return (T)ser.Deserialize(sjob); 46 } catch (Exception) { 47 // retry with old persistence 48 using (MemoryStream memStream = new MemoryStream(sjob)) { 49 return XmlParser.Deserialize<T>(memStream); 50 } 50 51 } 51 52 } -
stable/HeuristicLab.Clients.Hive/3.3/Util/PluginUtil.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
stable/HeuristicLab.Clients.Hive/3.3/packages.config
r16565 r17097 2 2 <packages> 3 3 <package id="Google.Protobuf" version="3.6.1" targetFramework="net461" /> 4 <package id="HEAL.Attic" version="1.0.0-pre0 1" targetFramework="net461" />4 <package id="HEAL.Attic" version="1.0.0-pre02" targetFramework="net461" /> 5 5 <package id="System.Drawing.Common" version="4.5.1" targetFramework="net461" /> 6 6 </packages>
Note: See TracChangeset
for help on using the changeset viewer.