Free cookie consent management tool by TermsFeed Policy Generator

Changeset 126


Ignore:
Timestamp:
04/15/08 20:56:01 (16 years ago)
Author:
gkronber
Message:

fixed two bugs in the serialization of DistributedEngine and ProcessingEngine

Location:
branches/XmlReaderWriterBranch
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/XmlReaderWriterBranch/HeuristicLab.DistributedEngine/DistributedEngine.cs

    r125 r126  
    189189    //}
    190190    public override void Persist(string name, XmlWriter writer, IDictionary<Guid, IStorable> persistedObjects) {
     191      writer.WriteAttributeString("ServerAddress", ServerAddress);
    191192      base.Persist(name, writer, persistedObjects);
    192       writer.WriteAttributeString("ServerAddress", ServerAddress);
    193193    }
    194194    //public override void Populate(XmlNode node, IDictionary<Guid, IStorable> restoredObjects) {
  • branches/XmlReaderWriterBranch/HeuristicLab.Grid/ProcessingEngine.cs

    r125 r126  
    6262    public override void Populate(XmlReader reader, IDictionary<Guid, IStorable> restoredObjects) {
    6363      base.Populate(reader, restoredObjects);
    64       reader.Read();
    6564      initialOperation = (AtomicOperation)PersistenceManager.Restore(reader, "InitialOperation", restoredObjects);
    6665      reader.Read();
Note: See TracChangeset for help on using the changeset viewer.