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 454cbb4..ff8efdc 100644 (file)
@@ -14,8 +14,8 @@ import org.simgrid.msg.MsgException;
 import org.simgrid.msg.Process;
 
 public class Sender extends Process {
-       public Sender(String hostname, String name) throws HostNotFoundException {
-               super(hostname, name);
+       public Sender(Host host, String name, String[]args) {
+               super(host,name,args);
        }
     private final double commSizeLat = 1;
     final double commSizeBw = 100000000;