Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove Java bindings. They are not updated since maybe 10 years
[simgrid.git] / 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 (file)
index f01126f..0000000
+++ /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