Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add svn and cdash to java project.
[simgrid.git] / examples / basic / Slave.java
index d55ae0a..8c138dd 100644 (file)
@@ -4,15 +4,16 @@
  * 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 basic;
+import org.simgrid.msg.HostFailureException;
+import org.simgrid.msg.Msg;
+import org.simgrid.msg.Task;
+import org.simgrid.msg.TaskCancelledException;
+import org.simgrid.msg.TimeoutException;
+import org.simgrid.msg.TransferFailureException;
+import org.simgrid.msg.Process;
 
-import simgrid.msg.HostFailureException;
-import simgrid.msg.Msg;
-import simgrid.msg.Task;
-import simgrid.msg.TaskCancelledException;
-import simgrid.msg.TimeoutException;
-import simgrid.msg.TransferFailureException;
-
-public class Slave extends simgrid.msg.Process {
+public class Slave extends Process {
        public void main(String[] args) throws TransferFailureException, HostFailureException, TimeoutException {
                if (args.length < 1) {
                        Msg.info("Slave needs 1 argument (its number)");
@@ -37,6 +38,6 @@ public class Slave extends simgrid.msg.Process {
                //      Msg.info("\"" + task.getName() + "\" done ");
                }
 
-               //Msg.info("Received Finalize. I'm done. See you!");
+               Msg.info("Received Finalize. I'm done. See you!");
        }
 }
\ No newline at end of file