A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pingPong -> app/pingpong
[simgrid.git]
/
examples
/
java
/
app
/
pingpong
/
Sender.java
diff --git
a/examples/java/pingPong/Sender.java
b/examples/java/app/pingpong/Sender.java
similarity index 87%
rename from
examples/java/pingPong/Sender.java
rename to
examples/java/app/pingpong/Sender.java
index
530b67a
..
9644b4d
100644
(file)
--- a/
examples/java/pingPong/Sender.java
+++ b/
examples/java/app/pingpong/Sender.java
@@
-4,19
+4,20
@@
/* 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. */
/* 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
pingP
ong;
+package
app.pingp
ong;
import org.simgrid.msg.Msg;
import org.simgrid.msg.Host;
import org.simgrid.msg.Process;
import org.simgrid.msg.MsgException;
import org.simgrid.msg.Msg;
import org.simgrid.msg.Host;
import org.simgrid.msg.Process;
import org.simgrid.msg.MsgException;
+import org.simgrid.msg.NativeException;
import org.simgrid.msg.HostNotFoundException;
public class Sender extends Process {
private final double commSizeLat = 1;
final double commSizeBw = 100000000;
import org.simgrid.msg.HostNotFoundException;
public class Sender extends Process {
private final double commSizeLat = 1;
final double commSizeBw = 100000000;
- public Sender(
Host host, String name, String[] args)
{
- super(host,name,args);
+ public Sender(
String hostname, String name, String[] args) throws HostNotFoundException, NativeException
{
+ super(host
name
,name,args);
}
public void main(String[] args) throws MsgException {
}
public void main(String[] args) throws MsgException {