1
#include "DreamMaster.hpp"
4
#include <HostNotFoundException.hpp>
10
MSG_IMPLEMENT_DYNAMIC(DreamMaster, Process)
12
int DreamMaster::main(int argc, char** argv)
17
info("Let's create a lazy guy.");
24
Host currentHost = Host::currentHost();
26
info(TEXT_("Current host name : ") + TEXT_(currentHost.getName()));
28
lazy = new LazyGuy(currentHost,"LazyGuy");
30
info("Let's wait a little bit...");
34
info("Let's wake the lazy guy up! >:) ");
40
catch(HostNotFoundException e)
42
error(TEXT_(e.toString()) + TEXT_(". Stopping Now!"));
46
//lazy->migrate(currentHost);
48
info("OK, goodbye now.");