3 import java.rmi.Remote;
4 import java.rmi.RemoteException;
5 import java.util.ArrayList;
7 public interface ServicesServer extends Remote
9 public Integer register( ServicesClient _stub ) throws RemoteException ;
11 public String getAssociatedIP( String _ip ) throws RemoteException ;
13 public void ping( String _ip ) throws RemoteException ;
15 public void changeStatus( String _ip, String _status ) throws RemoteException ;
17 public Integer saveOk( String _ip, String _saveName ) throws RemoteException ;
19 public Integer changeSaveName( String _ip, String _saveName ) throws RemoteException ;
21 public ArrayList<ServicesClient> startApplication( int _nb ) throws RemoteException ;
23 public void endApplication() throws RemoteException ;
25 public void goApplication() throws RemoteException ;
27 public void stop() throws RemoteException ;
29 public void requestSave( String _ip ) throws RemoteException ;
31 public Integer deployVM( String _name, String _archive, String _directory ) throws RemoteException ;
33 public String getWorkingDirectory() throws RemoteException ;
35 public void restartOk( String _ip ) throws RemoteException ;
39 /** La programmation est un art, respectons ceux qui la pratiquent !! **/