Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Adding missing handler when a restart crash.
[hpcvm.git] / src / and / hpcvm / ComputingClient.java
index b71b748..b9c654c 100644 (file)
@@ -17,6 +17,7 @@ public class ComputingClient implements Serializable
        private String lastSaveName ;
        private boolean saveRequest ;
        private boolean restartOk ;
+       private boolean fail ;
 
        ComputingClient( ConnectedClient cl )
        {
@@ -26,8 +27,13 @@ public class ComputingClient implements Serializable
                lastSaveName = "none" ;
                saveRequest = false ;
                restartOk = false ;
+               fail = false ;
        }
        
+       protected void setFail( boolean _b ) { fail = _b ; }
+       
+       protected boolean getFail() { return fail ; }
+       
        protected void setRestartOk( boolean _b ) { restartOk = _b ; }
        
        protected boolean getRestartOk() { return restartOk ; }