1 /* Copyright (c) 2012. 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. */
9 import kademlia.Answer;
11 public class FindNodeAnswerTask extends KademliaTask {
15 protected int destinationId;
17 * Answer to the FIND_NODE query.
19 protected Answer answer;
23 public FindNodeAnswerTask(int senderId, int destinationId, Answer answer) {
25 this.destinationId = destinationId;
28 public int getDestinationId() {
31 public Answer getAnswer() {