Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
d5535dde3e796bc65586447c3248a816f2cf2b47
[hpcvm.git] / src / and / hpcvm / ServicesClient.java
1 package and.hpcvm ;
2
3 import java.rmi.Remote;
4 import java.rmi.RemoteException;
5
6 public interface ServicesClient extends Remote
7 {
8
9         public int startVM( int _mode ) throws RemoteException ;
10         
11         public int stopVM() throws RemoteException ;
12         
13         public int suspendVM( int _mode ) throws RemoteException ;
14         
15         public int restartVM() throws RemoteException ;
16         
17         public int restartVMAfterCrash() throws RemoteException ;
18         
19         public int saveVM() throws RemoteException ;
20         
21         public int reloadConfig() throws RemoteException ;
22         
23         public int start() throws RemoteException ;
24         
25         public void stop() throws RemoteException ;
26         
27         public String getIPHost() throws RemoteException ;
28         
29         public String getIPVM() throws RemoteException ;
30         
31         public void setIPVM( String _ipVM ) throws RemoteException ;
32         
33         public String getName() throws RemoteException ;
34         
35         public void saveOk() throws RemoteException ;
36         
37         public void setSavingNeighbor( String _sn ) throws RemoteException ;
38         
39         public int retrieveSave( String _saveName ) throws RemoteException ;
40         
41 }
42
43
44 /** La programmation est un art, respectons ceux qui la pratiquent !! **/
45