Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Removed "ApplicationHandler" and "japplication_handler" and use MSG_launch_applicatio...
[simgrid.git] / examples / commTime / Slave.java
index 539fd34..0ada19e 100644 (file)
@@ -5,10 +5,15 @@
  * under the terms of the license (GNU LGPL) which comes with this package. 
  */
 
-import simgrid.msg.*;
+package commTime;
 
-public class Slave extends simgrid.msg.Process {
-   public void main(String[] args) throws MsgException {
+import org.simgrid.msg.*;
+
+public class Slave extends org.simgrid.msg.Process {
+       public Slave(Host host, String name, String[]args) {
+               super(host,name,args);
+       } 
+       public void main(String[] args) throws MsgException {
       if (args.length < 1) {
         Msg.info("Slave needs 1 argument (its number)");
         System.exit(1);