X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/jaceP2P.git/blobdiff_plain/e4891bd929a468ef21bd083d2c9bb3fb06254c91..HEAD:/src/jaceP2P/JaceInterface.java diff --git a/src/jaceP2P/JaceInterface.java b/src/jaceP2P/JaceInterface.java index e6694df..ab3b751 100644 --- 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.util.Vector; - +import java.util.ArrayList; 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 Vector getIterationOfBackup(int remoteRank, int tag) + public ArrayList getIterationOfBackup(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, - Vector reduceAll) throws RemoteException; + ArrayList reduceAll) 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, - Vector recievedValue) throws RemoteException; + ArrayList reduceAll) throws RemoteException; public boolean ping() throws RemoteException;