Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Change the way the threads are stopped, not killing the JVM at the end of the simulation.
[simgrid.git] / examples / pingPong / Sender.java
index 17f2dfd..ff8efdc 100644 (file)
@@ -6,11 +6,17 @@
  * 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 pingPong;
+import org.simgrid.msg.Host;
+import org.simgrid.msg.HostNotFoundException;
+import org.simgrid.msg.Msg;
+import org.simgrid.msg.MsgException;
+import org.simgrid.msg.Process;
 
-import simgrid.msg.*;
-
-public class Sender extends simgrid.msg.Process {
-  
+public class Sender extends Process {
+       public Sender(Host host, String name, String[]args) {
+               super(host,name,args);
+       }
     private final double commSizeLat = 1;
     final double commSizeBw = 100000000;