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