Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
New development version.
[jaceP2P.git] / src / jaceP2P / JaceSuperNodeInterface.java
index e54e9b3..f3ef6bc 100644 (file)
@@ -31,7 +31,9 @@ public interface JaceSuperNodeInterface extends Remote {
 
 //     public Node getNewNode(String spawnerIP) throws RemoteException;
        
-       public Node getNewNode(String spawnerIP, Node _deadNode) throws RemoteException;
+       public Node getNewNode( String _spawnerIP, int _rank ) throws RemoteException ;
+       
+       public Node getNewNode( String spawnerIP, GNode _deadNode ) throws RemoteException;
 
        public Vector<?> sendStub(String IP, int port, JaceSuperNodeInterface stub)
                        throws RemoteException;
@@ -62,6 +64,13 @@ public interface JaceSuperNodeInterface extends Remote {
        public ArrayList<GNode> getGNodes() throws RemoteException ;
        
        public void removeAlgo( String _id, int _mode ) throws RemoteException ;
+       
+       public void setMapped( GNode _g, int _mode ) throws RemoteException ;
+       
+       public void removeMappedGNode( GNode _g, int _mode ) throws RemoteException ;
+       
+       // ** Tests ** //
+       public Algo getAlgo( String _spID ) throws RemoteException ;
 }
 
 /** ! **/