Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Modification of mapping algorithm identifier mechanisms.
[jaceP2P.git] / src / jaceP2P / JaceSpawnerInterface.java
1 package jaceP2P;
2
3 import java.rmi.Remote;
4 import java.rmi.RemoteException;
5 import java.util.Vector;
6
7
8
9 public interface JaceSpawnerInterface extends Remote {
10
11         public void killApplication(JaceInterface stub) throws RemoteException;
12
13         public long getChronoValue(String appliName) throws RemoteException;
14
15         public void setFinished(boolean bool) throws RemoteException;
16
17         public boolean getFinished() throws RemoteException;
18
19         public void signalDeadNode(JaceInterface host, int rankOfDead)
20                         throws RemoteException;
21
22         public void beating() throws RemoteException;
23
24         public void replaceDeamonBy(Node oldNode, Node node, int rank)
25                         throws RemoteException;
26
27         public void replaceBy(JaceSpawnerInterface oldStub,
28                         JaceSpawnerInterface stub) throws RemoteException;
29
30         public void updateHeart(JaceSpawnerInterface stub) throws RemoteException;
31
32         public void startProcess(Vector<?> spawnersList) throws RemoteException;
33
34         public void setOver(boolean bool) throws RemoteException;
35
36         public String getName() throws RemoteException;
37
38         public Register getRegister(int rank) throws RemoteException;
39
40         public boolean ping() throws RemoteException;
41         
42 //      public void setIdAlgo( String _s ) throws RemoteException ;
43 }