public Node(NodeRegistry nreg, NodeIdent ni) { this.rdClient = new Client(); this.nreg = nreg; this.nodeIdent = ni; // FIXME! }
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); }
public DumpUrlHunter(NodeRegistry nreg, DumpUrl dumpUrl) { NodeHunter = new NodeHunter(nreg, dumpUrl.NodeIdent); TopicHunter = new TopicHunter(NodeHunter, dumpUrl.TopicIdent); DIHunter = new DIChainHunter(TopicHunter, dumpUrl.DIChainIdent); }