3 import java.rmi.Remote;
4 import java.rmi.RemoteException;
5 import java.util.Vector;
9 public interface JaceInterface extends Remote {
10 public void reconnectSuperNode() throws RemoteException;
12 public int updateRegister(Register newReg, JaceInterface stub, int req)
13 throws RemoteException;
15 public Vector<?> getIterationOfBackup(int remoteRank, int tag)
16 throws RemoteException;
18 public Backup getRemoteBackup(int remoteRank, int tag)
19 throws RemoteException;
21 public void suicide(String debugMsg) throws RemoteException;
23 public void iSendYou(Message msg) throws RemoteException;
25 public int getTimeStep() throws RemoteException;
27 public void saveTask(int rank, byte[] tsk, int iteration, int timeStep,
28 String appliName, int tag) throws RemoteException;
30 public void setSaved(boolean bool) throws RemoteException;
32 public boolean getReloading() throws RemoteException;
34 public int getVerifNum() throws RemoteException;
36 public String getState() throws RemoteException;
38 public void initializeVerif(int tag) throws RemoteException;
40 public void savOrFinOrRest(int tag, int step, boolean verd,
41 Vector<?> reduceAll) throws RemoteException;
43 public boolean setNbNeighboursNotConv(int tag, int idNeigh,
44 int neighborTimeStep) throws RemoteException;
46 public int getNbNeighboursNotConv() throws RemoteException;
48 public void response(int neighId, int tag, int response,
49 Vector<?> recievedValue) throws RemoteException;
51 public boolean ping() throws RemoteException;
53 public void updateHeart(JaceInterface stub) throws RemoteException;
55 public void updateHeart(JaceSuperNodeInterface stub) throws RemoteException;
57 public long beating(JaceInterface stub) throws RemoteException;
59 public void setScanning(boolean bool) throws RemoteException;
61 public JaceSpawnerInterface transformIntoSpawner(String[] params,
62 String appliName, Register reg, int nbTasks,
63 JaceSuperNodeInterface snodeStub, int rank, int heartTime, int tag,
64 int nbdc, int nbsdc, int nbDaemonPerSpawner, int nbDaemonPerThread)
65 throws RemoteException;
67 public void setSpawner(JaceSpawnerInterface spawnerStub)
68 throws RemoteException;
70 public void updateRegister(Node oldNode, Node node) throws RemoteException;
72 public void getBackupForNewNode(int rank) throws RemoteException;