1 /* Copyright (c) 2012-2014. The SimGrid Team.
2 * All rights reserved. */
4 /* This program is free software; you can redistribute it and/or modify it
5 * under the terms of the license (GNU LGPL) which comes with this package. */
10 * @brief Find node tasks sent by a node to another
11 * "Find Node" task sent by a node to another. Ask him for
12 * its closest nodes from a destination.
14 public class FindNodeTask extends KademliaTask {
16 * Id of the node we are trying to find: the destination
18 private int destination;
22 public FindNodeTask(int senderId, int destination) {
24 this.destination = destination;
29 public int getDestination() {