Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Adding mechanism for application execution time retrievement plus bugs correction.
[hpcvm.git] / src / and / hpcvm / ServicesServer.java
1 package and.hpcvm ;
2
3 import java.rmi.Remote;
4 import java.rmi.RemoteException;
5 import java.util.ArrayList;
6
7 public interface ServicesServer extends Remote
8 {
9         public Integer register( ServicesClient _stub ) throws RemoteException ;
10         
11         public String getAssociatedIP( String _ip ) throws RemoteException ;
12         
13         public void ping( String _ip ) throws RemoteException ;
14         
15         public void changeStatus( String _ip, String _status ) throws RemoteException ;
16         
17         public Integer saveOk( String _ip, String _saveName ) throws RemoteException ;
18         
19         public Integer changeSaveName( String _ip, String _saveName ) throws RemoteException ;
20         
21         public ArrayList<ServicesClient> startApplication( int _nb ) throws RemoteException ;
22         
23         public void endApplication() throws RemoteException ;
24         
25         public void goApplication() throws RemoteException ;
26         
27         public void stop() throws RemoteException ;
28         
29         public void requestSave( String _ip ) throws RemoteException ;
30         
31         public Integer deployVM( String _name, String _archive, String _directory ) throws RemoteException ;
32         
33         public String getWorkingDirectory() throws RemoteException ;
34
35         public void restartOk( String _ip ) throws RemoteException ;
36 }
37
38
39 /** La programmation est un art, respectons ceux qui la pratiquent !! **/
40