+
+ /**
+ * Send to all SuperNode the deletion of a mapping algorithm.
+ * @param id The mapping algorithm's identifier
+ */
+ public void removeAlgo( String _id )
+ {
+ SuperNodeData d = null ;
+ JaceSuperNodeInterface remoteStub = null ;
+
+ for( int i = 0 ; i < liste.size() ; i++ )
+ {
+ d = (SuperNodeData) liste.elementAt( i ) ;
+ if( ! d.getIP().equals( LocalHost.Instance().getIP() ) )
+ {
+ // if not me, I inform the other super nodes
+ remoteStub = d.getStub() ;
+ try {
+ remoteStub.removeAlgo( _id, 1 ) ;
+ } catch( Exception e ) {
+ System.err.println( "Unable to propagate the mapping algorithm deletion " + d.getIP() ) ;
+ }
+ }
+ }
+ }
+