3 import java.rmi.Remote;
4 import java.rmi.RemoteException;
6 public interface ServicesClient extends Remote
9 public int startVM( int _mode ) throws RemoteException ;
11 public int stopVM() throws RemoteException ;
13 public int suspendVM( int _mode ) throws RemoteException ;
15 public int restartVM() throws RemoteException ;
17 public int restartVMAfterCrash() throws RemoteException ;
19 public int saveVM() throws RemoteException ;
21 public int reloadConfig() throws RemoteException ;
23 public int start() throws RemoteException ;
25 public void stop() throws RemoteException ;
27 public String getIPHost() throws RemoteException ;
29 public String getIPVM() throws RemoteException ;
31 public void setIPVM( String _ipVM ) throws RemoteException ;
33 public String getName() throws RemoteException ;
35 public void saveOk() throws RemoteException ;
37 public void setSavingNeighbor( String _sn ) throws RemoteException ;
39 public int retrieveSave( String _saveName ) throws RemoteException ;
44 /** La programmation est un art, respectons ceux qui la pratiquent !! **/