Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
and now a dht package + cmake factoring
[simgrid.git] / examples / java / kademlia / FindNodeAnswerTask.java
diff --git a/examples/java/kademlia/FindNodeAnswerTask.java b/examples/java/kademlia/FindNodeAnswerTask.java
deleted file mode 100644 (file)
index ab85b3a..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-/* Copyright (c) 2012-2013. The SimGrid Team.
- * All rights reserved.                                                     */
-
-/* This program is free software; you can redistribute it and/or modify it
- * under the terms of the license (GNU LGPL) which comes with this package. */
-
-package kademlia;
-
-import kademlia.Answer;
-
-public class FindNodeAnswerTask extends KademliaTask {
-       /**
-        * Destination id
-        */
-       protected int destinationId;
-       /**
-        * Answer to the FIND_NODE query.
-        */
-       protected Answer answer;
-       /**
-        * Constructor
-        */
-       public FindNodeAnswerTask(int senderId, int destinationId, Answer answer) {
-               super(senderId);
-               this.destinationId = destinationId;
-               this.answer = answer;
-       }
-       public int getDestinationId() {
-               return destinationId;
-       }
-       public Answer getAnswer() {
-               return answer;
-       }
-       
-}