1 /* Copyright (c) 2012-2019. The SimGrid Team. All rights reserved. */
3 /* This program is free software; you can redistribute it and/or modify it
4 * under the terms of the license (GNU LGPL) which comes with this package. */
8 public class FindNodeAnswerTask extends KademliaTask {
9 protected int destinationId;
10 protected Answer answer;
12 public FindNodeAnswerTask(int senderId, int destinationId, Answer answer) {
14 this.destinationId = destinationId;
17 public int getDestinationId() {
20 public Answer getAnswer() {