1 /* Copyright (c) 2012-2020. 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 "Find Node" task sent by a node to another. Ask him for its closest
11 * nodes from a destination.
13 public class FindNodeTask extends KademliaTask {
14 /* Id of the node we are trying to find: the destination */
15 private int destination;
17 public FindNodeTask(int senderId, int destination) {
19 this.destination = destination;
22 public int getDestination() {