2 * Copyright (c) 2006-2013. The SimGrid Team.
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the license (GNU LGPL) which comes with this package.
10 import org.simgrid.msg.Host;
11 import org.simgrid.msg.Msg;
12 import org.simgrid.msg.Process;
13 import org.simgrid.msg.MsgException;
14 public class DreamMaster extends Process {
15 public DreamMaster(Host host, String name, String[]args) {
16 super(host,name,args);
18 public void main(String[] args) throws MsgException {
19 Msg.info("Let's create a lazy guy.");
20 Process lazyGuy = new LazyGuy(getHost(),"Lazy",null);
22 Msg.info("Let's wait a little bit...");
24 Msg.info("Let's wake the lazy guy up! >:) BOOOOOUUUHHH!!!!");
26 Msg.info("OK, goodbye now.");