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 ArrayList<ServicesClient> startApplication( int _nb ) throws RemoteException ;
21 public void endApplication() throws RemoteException ;
23 public void stop() throws RemoteException ;
27 /** La programmation est un art, respectons ceux qui la pratiquent !! **/