bearermanagement/S60MCPR/inc/s60mcpr.h
branchRCL_3
changeset 69 cf1b3ddbe9a1
parent 62 bb1f80fb7db2
--- a/bearermanagement/S60MCPR/inc/s60mcpr.h	Wed Sep 15 12:38:40 2010 +0300
+++ b/bearermanagement/S60MCPR/inc/s60mcpr.h	Wed Oct 13 14:59:48 2010 +0300
@@ -174,6 +174,24 @@
      * Clears handshaking flag. 
      */
     void ClearHandshakingFlag();
+
+    /**
+     * Checking whether the node is in the middle of a gone down error
+     * recovery.
+     * 
+     * @return ETrue if recovering a GoneDown error
+     */
+    TBool IsGoneDownRecoveryOngoing() const;
+    
+    /**
+     * Sets gone down recovery flag. 
+     */
+    void SetGoneDownRecoveryOngoing();
+    
+    /**
+     * Clears gone down recovery flag. 
+     */
+    void ClearGoneDownRecoveryOngoing();    
     
     /**
      * Re-send last received policy notification if it exists.
@@ -262,6 +280,19 @@
     TBool                   iIsHandshakingNow : 1; 
     
     /**
+     * Status flag indicating that we are currently recovering from GoneDown.
+     * This is set while MPM is making recovery decision, and in case of
+     * mobility connections also for the period while the connection roams 
+     * to a new interface. This is used (at least) for erroring NoBearer
+     * requests coming from the data clients.
+     * 
+     * Even though the bit fields are generally quite useless optimization in
+     * this kind of cases, used also in here since there are a couple of
+     * those above...
+     */
+    TBool                   iGoneDownRecoveryOngoing : 1;
+    
+    /**
      * Connection preference list
      */
     ESock::RConnPrefList    iConnPrefList;