X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/08e7455d67920bbd7a87f440d00f2c1e071314a0..6fbcdfade89b3812c24152c86f8aa3be510df7f2:/examples/deprecated/java/async/dsend/Receiver.java diff --git a/examples/deprecated/java/async/dsend/Receiver.java b/examples/deprecated/java/async/dsend/Receiver.java deleted file mode 100644 index f01126f138..0000000000 --- a/examples/deprecated/java/async/dsend/Receiver.java +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright (c) 2006-2021. 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 async.dsend; -import org.simgrid.msg.Msg; -import org.simgrid.msg.Host; -import org.simgrid.msg.Task; -import org.simgrid.msg.Process; -import org.simgrid.msg.HostFailureException; -import org.simgrid.msg.TimeoutException; -import org.simgrid.msg.TransferFailureException; - -public class Receiver extends Process { - public Receiver (Host host, String name) { - super(host,name); - } - - @Override - public void main(String[] args) throws TransferFailureException, HostFailureException, TimeoutException { - Msg.info("Receiving on '"+ getHost().getName() + "'"); - Task.receive(getHost().getName()); - Msg.info("Received a task. I'm done. See you!"); - } -} \ No newline at end of file