A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
jaceP2P.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correction of some bugs and performance enhancement.
[jaceP2P.git]
/
src
/
jaceP2P
/
JaceInterface.java
diff --git
a/src/jaceP2P/JaceInterface.java
b/src/jaceP2P/JaceInterface.java
index
e6694df
..
ab3b751
100644
(file)
--- a/
src/jaceP2P/JaceInterface.java
+++ b/
src/jaceP2P/JaceInterface.java
@@
-2,8
+2,7
@@
package jaceP2P;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.rmi.Remote;
import java.rmi.RemoteException;
-import java.util.Vector;
-
+import java.util.ArrayList;
public interface JaceInterface extends Remote {
public interface JaceInterface extends Remote {
@@
-12,7
+11,7
@@
public interface JaceInterface extends Remote {
public int updateRegister(Register newReg, JaceInterface stub, int req)
throws RemoteException;
public int updateRegister(Register newReg, JaceInterface stub, int req)
throws RemoteException;
- public
Vector<?
> getIterationOfBackup(int remoteRank, int tag)
+ public
ArrayList<Integer
> getIterationOfBackup(int remoteRank, int tag)
throws RemoteException;
public Backup getRemoteBackup(int remoteRank, int tag)
throws RemoteException;
public Backup getRemoteBackup(int remoteRank, int tag)
@@
-38,7
+37,7
@@
public interface JaceInterface extends Remote {
public void initializeVerif(int tag) throws RemoteException;
public void savOrFinOrRest(int tag, int step, boolean verd,
public void initializeVerif(int tag) throws RemoteException;
public void savOrFinOrRest(int tag, int step, boolean verd,
-
Vector<?
> reduceAll) throws RemoteException;
+
ArrayList<Object
> reduceAll) throws RemoteException;
public boolean setNbNeighboursNotConv(int tag, int idNeigh,
int neighborTimeStep) throws RemoteException;
public boolean setNbNeighboursNotConv(int tag, int idNeigh,
int neighborTimeStep) throws RemoteException;
@@
-46,7
+45,7
@@
public interface JaceInterface extends Remote {
public int getNbNeighboursNotConv() throws RemoteException;
public void response(int neighId, int tag, int response,
public int getNbNeighboursNotConv() throws RemoteException;
public void response(int neighId, int tag, int response,
-
Vector<?> recievedValue
) throws RemoteException;
+
ArrayList<Object> reduceAll
) throws RemoteException;
public boolean ping() throws RemoteException;
public boolean ping() throws RemoteException;