import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;
-import java.util.Vector;
import and.Mapping.Algo;
import and.Mapping.GNode;
// 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)
+ public ArrayList<Object> sendStub(String IP, int port, JaceSuperNodeInterface stub)
throws RemoteException;
public void updateCountNode(String IP, int nb) throws RemoteException;
- public void sendSurplus(Vector<?> nodes, ArrayList<GNode> _gnodes) throws RemoteException;
+ public void sendSurplus(ArrayList<Node> newVector, ArrayList<GNode> _gnodes) throws RemoteException;
public void removeSuperNode(SuperNodeData d) throws RemoteException;
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 ;
}
/** ! **/