4 * Copyright 2006,2007 Martin Quinson, Malek Cherier
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the license (GNU LGPL) which comes with this package.
13 public class DreamMaster extends simgrid.msg.Process {
15 public void main(String[] args) throws JniException, NativeException {
18 Msg.info("Let's create a lazy guy.");
20 Host currentHost = Host.currentHost();
21 Msg.info("Current host name : " + currentHost.getName());
23 LazyGuy lazy = new LazyGuy();
24 // lazy.migrate(currentHost);
26 Msg.info("Let's wait a little bit...");
27 simgrid.msg.Process.waitFor(10.0);
28 Msg.info("Let's wake the lazy guy up! >:) ");
31 Msg.info("OK, goodbye now.");