Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Modifying functions manipulating Grid classes.
[jaceP2P.git] / src / jaceP2P / SuperNodeListe.java
index df26230..017128a 100644 (file)
@@ -369,7 +369,7 @@ public class SuperNodeListe implements Cloneable {
                }
        }
        
-       public void removeGNode( GNode _g )
+       public void removeGNode( GNode _g, int _mode )
        {
                if( _g != null )
                {
@@ -385,7 +385,7 @@ public class SuperNodeListe implements Cloneable {
                                        // if not me, I inform the other super nodes
                                        remoteStub = d.getStub() ;
                                        try {
-                                               remoteStub.removeGNode( _g ) ;
+                                               remoteStub.delGNodeFromList( (Node)_g.getNode(), _mode ) ;
                                        } catch( Exception e ) {
                                                System.err.println( "Unable to remove GNode on SuperNode " + d.getIP() ) ;
                                        }