X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/95f8d2439ede822d33a1d491f53f4e80fc662941..6068c9f0036786cdcbeb273d495e5aa378cb5f92:/examples/commTime/Master.java diff --git a/examples/commTime/Master.java b/examples/commTime/Master.java index c2bbc5ce8b..ea469638ee 100644 --- a/examples/commTime/Master.java +++ b/examples/commTime/Master.java @@ -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);