Esempio n. 1
0
        public DIChainHunter(TopicHunter toHu, DIChainIdent diIdent)
        {
            this.toHu    = toHu;
            this.diIdent = diIdent;
            this.LinkDIs = new List <IDumpItem>();

            // try to look up
            Tick();
        }
Esempio n. 2
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         DIHunter.Dispose();
         TopicHunter.Dispose();
         NodeHunter.Dispose();
     }
     base.Dispose(disposing);
 }
Esempio n. 3
0
 public void Tick()
 {
     //noHu.Tick();
     TopicHunter.Tick();
     DIHunter.Tick();
 }
Esempio n. 4
0
 public DumpUrlHunter(NodeRegistry nreg, DumpUrl dumpUrl)
 {
     NodeHunter  = new NodeHunter(nreg, dumpUrl.NodeIdent);
     TopicHunter = new TopicHunter(NodeHunter, dumpUrl.TopicIdent);
     DIHunter    = new DIChainHunter(TopicHunter, dumpUrl.DIChainIdent);
 }