Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move Java examples to examples/java/.
[simgrid.git] / examples / java / chord / FindSuccessorTask.java
diff --git a/examples/java/chord/FindSuccessorTask.java b/examples/java/chord/FindSuccessorTask.java
new file mode 100644 (file)
index 0000000..8708469
--- /dev/null
@@ -0,0 +1,16 @@
+/*
+ * Copyright 2006-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 chord;
+
+public class FindSuccessorTask extends ChordTask {
+       public int requestId;
+       
+       public FindSuccessorTask(String issuerHostname, String answerTo,  int requestId) {
+               super(issuerHostname, answerTo);
+               this.requestId = requestId;
+       }
+}