Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move MSG and SimDag examples out of the sight of users
[simgrid.git] / examples / deprecated / java / app / centralizedmutex / RequestTask.java
diff --git a/examples/deprecated/java/app/centralizedmutex/RequestTask.java b/examples/deprecated/java/app/centralizedmutex/RequestTask.java
new file mode 100644 (file)
index 0000000..7b246ad
--- /dev/null
@@ -0,0 +1,15 @@
+/* Copyright (c) 2012-2019. 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 app.centralizedmutex;
+import org.simgrid.msg.Task;
+
+public class RequestTask extends Task {
+  protected String from;
+  public RequestTask(String name) {
+    super();
+    from=name;
+  }
+}