Esempio n. 1
0
        public override void Handle(IDhtEngine engine, Node node)
        {
            base.Handle(engine, node);
            FindNodeResponse response = new FindNodeResponse(engine.LocalId, TransactionId);
            var result = engine.QueryFindNode(Target);

            response.Nodes = Node.CompactNode(result.Nodes);

            engine.Send(response, node.EndPoint);
        }