X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/hpcvm.git/blobdiff_plain/d83793da6e881ebab006a50a47fbba914e65f9cf..7a473b4f506b5264586f090f34b21fe11531bb70:/src/and/hpcvm/ServicesClient.java diff --git a/src/and/hpcvm/ServicesClient.java b/src/and/hpcvm/ServicesClient.java index 4ea41da..09ad97e 100644 --- a/src/and/hpcvm/ServicesClient.java +++ b/src/and/hpcvm/ServicesClient.java @@ -8,9 +8,11 @@ public interface ServicesClient extends Remote { public void emergencyStop() throws RemoteException ; + public int echo() throws RemoteException ; + public int startVM( int _mode ) throws RemoteException ; - public int stopVM() throws RemoteException ; + public int stopVM( int _mode ) throws RemoteException ; public int suspendVM( int _mode ) throws RemoteException ; @@ -38,19 +40,21 @@ public interface ServicesClient extends Remote public void saveOk() throws RemoteException ; + public void responseSave( boolean _b ) throws RemoteException ; + public Integer deployVM( String _name, String _archive, String _directory ) throws RemoteException ; public void changeSaveName( String _n1, String _n2, int _id ) throws RemoteException ; - public void setSavingNeighbor( ServicesClient _sn ) throws RemoteException ; + public void setSaveNeighbor( SaveNeighbor _sn ) throws RemoteException ; - public void setSavingNeighbors( ArrayList _sn ) throws RemoteException ; + public void setSaveNeighbors( ArrayList _sn ) throws RemoteException ; - public void addSavingNeighbor( ServicesClient _sn ) throws RemoteException ; + public void addSaveNeighbor( SaveNeighbor _sn ) throws RemoteException ; - public void addSavingNeighbors( ArrayList _sn ) throws RemoteException ; + public void addSaveNeighbors( ArrayList _sn ) throws RemoteException ; - public void replaceSavingNeighbor( String _old, ServicesClient _new ) throws RemoteException ; + public void replaceSaveNeighbor( SaveNeighbor _old, SaveNeighbor _new ) throws RemoteException ; public int retrieveSave( String _saveName ) throws RemoteException ;