Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Correction and modification of save mechanisms.
[hpcvm.git] / src / and / hpcvm / ServicesClient.java
index d5535dd..09ad97e 100644 (file)
@@ -2,13 +2,17 @@ package and.hpcvm ;
 
 import java.rmi.Remote;
 import java.rmi.RemoteException;
+import java.util.ArrayList;
 
 public interface ServicesClient extends Remote
 {
-
+       public void emergencyStop() throws RemoteException ;
+       
+       public int echo() throws RemoteException ;
+       
        public int startVM( int _mode ) throws RemoteException ;
        
-       public int stopVM() throws RemoteException ;
+       public int stopVM( int _mode ) throws RemoteException ;
        
        public int suspendVM( int _mode ) throws RemoteException ;
        
@@ -28,13 +32,29 @@ public interface ServicesClient extends Remote
        
        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 setSavingNeighbor( String _sn ) throws RemoteException ;
+       public void responseSave( boolean _b ) throws RemoteException ;
+       
+       public Integer deployVM( String _name, String _archive, String _directory ) throws RemoteException ;
+       
+       public void changeSaveName( String _n1, String _n2, int _id ) throws RemoteException ;
+       
+       public void setSaveNeighbor( SaveNeighbor _sn ) throws RemoteException ;
+       
+       public void setSaveNeighbors( ArrayList<SaveNeighbor> _sn ) throws RemoteException ;
+       
+       public void addSaveNeighbor( SaveNeighbor _sn ) throws RemoteException ;
+       
+       public void addSaveNeighbors( ArrayList<SaveNeighbor> _sn ) throws RemoteException ;
+       
+       public void replaceSaveNeighbor( SaveNeighbor _old, SaveNeighbor _new ) throws RemoteException ;
        
        public int retrieveSave( String _saveName ) throws RemoteException ;