import java.rmi.Remote;
import java.rmi.RemoteException;
+import java.util.ArrayList;
import java.util.Vector;
import and.Mapping.Algo;
public void updateCountNode(String IP, int nb) throws RemoteException;
- public void sendSurplus(Vector<?> nodes) throws RemoteException;
+ public void sendSurplus(Vector<?> nodes, ArrayList<GNode> _gnodes) throws RemoteException;
public void removeSuperNode(SuperNodeData d) throws RemoteException;
/** ! **/
public void addGNode( GNode _g ) throws RemoteException ;
- public void removeGNode( GNode _g ) throws RemoteException ;
+// public void removeGNode( GNode _g ) throws RemoteException ;
+
+ public GNode delGNodeFromList( Node _n, int _mode, String _spawnerIp ) throws RemoteException ;
public boolean blockForMapping() throws RemoteException ;
public void setMapping( Algo al ) throws RemoteException ;
- public void updateMappedNode(GNode dead, GNode remp) throws RemoteException ;
+ public void updateMappedNode(GNode dead, GNode remp, String _spawnerIP) throws RemoteException ;
+
+ public ArrayList<GNode> getGNodes() throws RemoteException ;
+
+ public void removeAlgo( String _id, int _mode ) throws RemoteException ;
}
/** ! **/