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

            // try to look up
            Tick();
        }
예제 #2
0
파일: DumpUrlHunter.cs 프로젝트: pjanec/DID
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         DIHunter.Dispose();
         TopicHunter.Dispose();
         NodeHunter.Dispose();
     }
     base.Dispose(disposing);
 }
예제 #3
0
파일: DumpUrlHunter.cs 프로젝트: pjanec/DID
 public void Tick()
 {
     //noHu.Tick();
     TopicHunter.Tick();
     DIHunter.Tick();
 }
예제 #4
0
파일: DumpUrlHunter.cs 프로젝트: pjanec/DID
 public DumpUrlHunter(NodeRegistry nreg, DumpUrl dumpUrl)
 {
     NodeHunter  = new NodeHunter(nreg, dumpUrl.NodeIdent);
     TopicHunter = new TopicHunter(NodeHunter, dumpUrl.TopicIdent);
     DIHunter    = new DIChainHunter(TopicHunter, dumpUrl.DIChainIdent);
 }