Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git] / examples / java / suspend / DreamMaster.java
index 6469b5a..650a364 100644 (file)
@@ -5,14 +5,15 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 package suspend;
-import org.simgrid.msg.Host;
+import org.simgrid.msg .Host;
 import org.simgrid.msg.Msg;
 import org.simgrid.msg.Process;
 import org.simgrid.msg.MsgException;
+import org.simgrid.msg.HostNotFoundException;
 
 public class DreamMaster extends Process {
-  public DreamMaster(Host host, String name, String[]args) {
-    super(host,name,args);
+  public DreamMaster(String hostname, String name)  throws HostNotFoundException{
+    super(hostname,name);
   }
 
   public void main(String[] args) throws MsgException {