Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Changing save mechanism.
[hpcvm.git] / src / and / hpcvm / ServicesClient.java
index d5535dd..6e4945c 100644 (file)
@@ -2,10 +2,12 @@ package and.hpcvm ;
 
 import java.rmi.Remote;
 import java.rmi.RemoteException;
 
 import java.rmi.Remote;
 import java.rmi.RemoteException;
+import java.util.ArrayList;
 
 public interface ServicesClient extends Remote
 {
 
 public interface ServicesClient extends Remote
 {
-
+       public void emergencyStop() throws RemoteException ;
+       
        public int startVM( int _mode ) throws RemoteException ;
        
        public int stopVM() throws RemoteException ;
        public int startVM( int _mode ) throws RemoteException ;
        
        public int stopVM() throws RemoteException ;
@@ -28,13 +30,25 @@ public interface ServicesClient extends Remote
        
        public String getIPVM() throws RemoteException ;
        
        
        public String getIPVM() throws RemoteException ;
        
+       public String getWorkingDirectory() throws RemoteException ;
+       
        public void setIPVM( String _ipVM ) throws RemoteException ;
        
        public String getName() throws RemoteException ;
        
        public void saveOk() throws RemoteException ;
        
        public void setIPVM( String _ipVM ) throws RemoteException ;
        
        public String getName() throws RemoteException ;
        
        public void saveOk() throws RemoteException ;
        
-       public void setSavingNeighbor( String _sn ) throws RemoteException ;
+       public void changeSaveName( String _n1, String _n2, int _id ) throws RemoteException ;
+       
+       public void setSavingNeighbor( ServicesClient _sn ) throws RemoteException ;
+       
+       public void setSavingNeighbors( ArrayList<ServicesClient> _sn ) throws RemoteException ;
+       
+       public void addSavingNeighbor( ServicesClient _sn ) throws RemoteException ;
+       
+       public void addSavingNeighbors( ArrayList<ServicesClient> _sn ) throws RemoteException ;
+       
+       public void replaceSavingNeighbor( ServicesClient _old, ServicesClient _new ) throws RemoteException ;
        
        public int retrieveSave( String _saveName ) throws RemoteException ;
        
        
        public int retrieveSave( String _saveName ) throws RemoteException ;