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
10 import org.simgrid.msg.HostFailureException
11 import org.simgrid.msg.HostNotFoundException
12 import org.simgrid.msg.Msg
13 import org.simgrid.msg.TimeoutException
14 import org.simgrid.msg.TransferFailureException
15 import org.simgrid.msg.Process
17 class Slave(hostname:String, name:String) extends Process(hostname, name) {
18 def main(args:Array[String]) {
19 Msg.info("Slave Hello!")
20 val task = new FinalizeTask()
21 Msg.info("Send finalize!")