Ignore:
Timestamp:
Jun 18, 2010, 5:18:05 PM (11 years ago)
Author:
Paul Lelgemann
Message:

o Refactored distributed KeySearcher: updated directory structure and variable names

Location:
trunk/CrypPlugins/KeySearcher/P2P/Tree
Files:
1 added
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/KeySearcher/P2P/Tree/Leaf.cs

    r1673 r1674  
    44using KeySearcher.Helper;
    55using KeySearcher.P2P.Exceptions;
     6using KeySearcher.P2P.Storage;
    67
    7 namespace KeySearcher.P2P.Nodes
     8namespace KeySearcher.P2P.Tree
    89{
    910    class Leaf : NodeBase
     
    1112        internal DateTime LastReservationDate;
    1213
    13         public Leaf(P2PHelper p2PHelper, KeyQualityHelper keyQualityHelper, Node parentNode, BigInteger id, string distributedJobIdentifier)
    14             : base(p2PHelper, keyQualityHelper, parentNode, id, id, distributedJobIdentifier)
     14        public Leaf(StorageHelper storageHelper, KeyQualityHelper keyQualityHelper, Node parentNode, BigInteger id, string distributedJobIdentifier)
     15            : base(storageHelper, keyQualityHelper, parentNode, id, id, distributedJobIdentifier)
    1516        {
    1617        }
     
    4950        {
    5051            LastReservationDate = DateTime.UtcNow;
    51             return P2PHelper.UpdateInDht(this).IsSuccessful();
     52            return StorageHelper.UpdateInDht(this).IsSuccessful();
    5253        }
    5354
Note: See TracChangeset for help on using the changeset viewer.