-/*
- * Copyright (c) 2012-2013. The SimGrid Team.
- * All rights reserved.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the license (GNU LGPL) which comes with this package.
- */
+/* Copyright (c) 2012-2014. The SimGrid Team.
+ * All rights reserved. */
+
+/* This program is free software; you can redistribute it and/or modify it
+ * under the terms of the license (GNU LGPL) which comes with this package. */
+
package cloud;
import org.simgrid.msg.Host;
this.number = number;
}
public void main(String[] args) throws MsgException {
- Msg.info(this.msgName() +" is listenning on MBOX:WRK0"+ number);
+ Msg.info(this.getName() +" is listenning on MBOX:WRK0"+ number);
while(true) {
Task task;
try {
} catch (MsgException e) {
}
- Msg.info(this.msgName() +" executed task (" + task.getName()+")");
+ Msg.info(this.getName() +" executed task (" + task.getName()+")");
}