2 * Copyright (c) 2006-2013. The SimGrid Team.
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the license (GNU LGPL) which comes with this package.
8 package master_slave_bypass;
9 import org.simgrid.msg.HostFailureException;
10 import org.simgrid.msg.HostNotFoundException;
11 import org.simgrid.msg.Msg;
12 import org.simgrid.msg.TimeoutException;
13 import org.simgrid.msg.TransferFailureException;
14 import org.simgrid.msg.Process;
16 import master_slave_bypass.FinalizeTask;
18 public class Slave extends Process {
19 public Slave(String hostname, String name) throws HostNotFoundException {
20 super(hostname, name);
22 public void main(String[] args) throws TransferFailureException, HostFailureException, TimeoutException {
23 Msg.info("Slave Hello!");
24 FinalizeTask task = new FinalizeTask();
25 Msg.info("Send finalize!");