Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Correction of some bugs and performance enhancement.
[jaceP2P.git] / src / jaceP2P / JaceInterface.java
index e6694df..ab3b751 100644 (file)
@@ -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<Integer> 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<Object> 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<Object> reduceAll) throws RemoteException;
 
        public boolean ping() throws RemoteException;