Exemple #1
0
 public Node(NodeRegistry nreg, NodeIdent ni)
 {
     this.rdClient  = new Client();
     this.nreg      = nreg;
     this.nodeIdent = ni;
     // FIXME!
 }
Exemple #2
0
 public NodeHunter(NodeRegistry nreg, NodeIdent ni)
 {
     this.nreg = nreg;
     // tell the node we need it (this should connect if not yet connected)
     node = nreg.Alloc(ni);
 }
Exemple #3
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);
 }