Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Adding missing handler when a restart crash.
[hpcvm.git] / src / and / hpcvm / ConnectedClient.java
index a3263dd..969c997 100644 (file)
@@ -27,7 +27,25 @@ public class ConnectedClient implements Serializable
                }
                cl = null ;
        }
+       
+       protected boolean getFail() 
+       {
+               if( cl != null )
+               {
+                       return cl.getFail() ;
+               }
+               
+               return false ;
+       }
 
+       protected void setFail( boolean _b )
+       {
+               if( cl != null )
+               {
+                       cl.setFail( _b ) ;
+               }
+       }
+       
        protected ServicesClient getStub() { return stub ; }
 
        protected void setStub( ServicesClient _stub ) { stub = _stub ; }