realtimenetprots/sipfw/ProfileAgent/AlrMonitor/src/sipalrsnapmonitor.cpp
branchRCL_3
changeset 44 0dcb073356a5
parent 43 b5e99d8877c7
child 49 0a1ad22c7bdc
equal deleted inserted replaced
43:b5e99d8877c7 44:0dcb073356a5
   298 		if ( iObservers[i].iObserver == &aObserver )
   298 		if ( iObservers[i].iObserver == &aObserver )
   299 			{
   299 			{
   300 			iObservers.Remove( i );	
   300 			iObservers.Remove( i );	
   301 			}
   301 			}
   302 		}
   302 		}
   303 	iObservers.Compress();
       
   304 
   303 
   305 	return iObservers.Count() == 0;
   304 	return iObservers.Count() == 0;
   306 	}
   305 	}
   307 	  
   306 	  
   308 // -----------------------------------------------------------------------------
   307 // -----------------------------------------------------------------------------
   484     {
   483     {
   485     PROFILE_DEBUG1( "CSipAlrSnapMonitor::ResetState entered" )
   484     PROFILE_DEBUG1( "CSipAlrSnapMonitor::ResetState entered" )
   486 
   485 
   487     DestroyMobilityAo();
   486     DestroyMobilityAo();
   488     Cancel();
   487     Cancel();
   489 //    iConnection.Close();
   488     iConnection.Close();
   490     iMigrationAllowedByClient = EFalse;
   489     iMigrationAllowedByClient = EFalse;
   491     iConnectionActive = EFalse;
   490     iConnectionActive = EFalse;
   492     iPreferredCarrierAvailableCalled = EFalse;
   491     iPreferredCarrierAvailableCalled = EFalse;
   493     PROFILE_DEBUG1( "CSipAlrSnapMonitor::ResetState returns" )
   492     PROFILE_DEBUG1( "CSipAlrSnapMonitor::ResetState returns" )
   494     }
   493     }