Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Removed "ApplicationHandler" and "japplication_handler" and use MSG_launch_applicatio...
[simgrid.git] / examples / commTime / Master.java
index c2bbc5c..ea46963 100644 (file)
@@ -7,10 +7,20 @@
  * under the terms of the license (GNU LGPL) which comes with this package. 
  */
 
-import simgrid.msg.*;
+package commTime;
 
-public class Master extends simgrid.msg.Process {
-   public void main(String[] args) throws MsgException {
+import org.simgrid.msg.Host;
+import org.simgrid.msg.HostNotFoundException;
+import org.simgrid.msg.Msg;
+import org.simgrid.msg.MsgException;
+import org.simgrid.msg.Task;
+import org.simgrid.msg.Process;
+
+public class Master extends Process {
+       public Master(Host host, String name, String[]args) {
+               super(host,name,args);
+       } 
+       public void main(String[] args) throws MsgException {
       if (args.length < 4) {
         Msg.info("Master needs 4 arguments");
         System.exit(1);