Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Change the way the objects are created in ApplicationHandler: they are
[simgrid.git] / examples / mutualExclusion / centralized / Node.java
index 75cc666..8f79d8e 100644 (file)
@@ -14,7 +14,9 @@ import org.simgrid.msg.Task;
 import org.simgrid.msg.Process;
 
 public class Node extends Process {
-
+       public Node(String hostname, String name) throws HostNotFoundException {
+               super(hostname, name);
+       }
        public void request(double CStime) throws MsgException {
                RequestTask req = new RequestTask(this.name);
           Msg.info("Send a request to the coordinator");