Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/29/08 18:05:18 (16 years ago)
Author:
gkronber
Message:
  • fixed ticket #201 (Fix plugin dependencies for CEDMA plugins)
  • deleted classes DbPersistenceManager because the common code was moved to the PersistenceManager in HeuristicLab.Core.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.CEDMA.Server/RunScheduler.cs

    r398 r403  
    2828using HeuristicLab.Core;
    2929using System.Threading;
    30 using HeuristicLab.CEDMA.Core;
    3130using HeuristicLab.Grid;
    3231using System.Diagnostics;
     
    6968      }
    7069      foreach(AgentEntry entry in agents) {
    71         Agent agent = (Agent)DbPersistenceManager.Restore(entry.RawData);
    72         IOperatorGraph opGraph = agent.OperatorGraph;
    7370        Scope scope = new Scope();
    7471        // initialize CEDMA variables for the execution of the agent
    7572        scope.AddVariable(new Variable("AgentId", new IntData((int)entry.Id)));
    7673        scope.AddVariable(new Variable("CedmaServerUri", new StringData(serverUri)));
     74        IOperatorGraph opGraph = (IOperatorGraph)PersistenceManager.RestoreFromGZip(entry.RawData);
    7775        AtomicOperation op = new AtomicOperation(opGraph.InitialOperator, scope);
    7876        WaitHandle wHandle;
Note: See TracChangeset for help on using the changeset viewer.