Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move Java examples to examples/java/.
[simgrid.git] / simgrid-java / examples / kademlia / KademliaTask.java
diff --git a/simgrid-java/examples/kademlia/KademliaTask.java b/simgrid-java/examples/kademlia/KademliaTask.java
deleted file mode 100644 (file)
index a073232..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/* Copyright (c) 2012. 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.Common;
-
-import org.simgrid.msg.Task;
-
-/**
- * @brief Base class for all the tasks related to Kademlia.
- */
-public class KademliaTask extends Task {
-       /**
-        * Sender id
-        */
-       protected int senderId;
-       
-       /**
-        * Constructor
-        */
-       public KademliaTask(int senderId) {
-               super("kademliatask",Common.COMP_SIZE,Common.COMM_SIZE);
-               this.senderId = senderId;
-       }
-       public int getSenderId() {
-               return senderId;
-       }
-}