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.HostFailureException;
10 import org.simgrid.msg.Msg;
11 import org.simgrid.msg.MsgException;
12 import org.simgrid.msg.Process;
13 import org.simgrid.msg.TimeoutException;
14 import org.simgrid.msg.TransferFailureException;
17 * Lazy Guy Slave, suspends itself ASAP
19 public class Slave extends Process {
20 public Slave(Host host, String name, String[]args) {
21 super(host,name,args);
23 public void main(String[] args) throws TransferFailureException, HostFailureException, TimeoutException {
27 Msg.info("OK, goodbye now.");
28 } catch (MsgException e) {
29 Msg.debug("Wait cancelled.");