realtimenetprots/sipfw/ProfileAgent/AlrMonitor/src/sipalrsnapmonitor.cpp
branchRCL_3
changeset 19 b5e99d8877c7
parent 18 f54bfd820e04
child 20 0dcb073356a5
equal deleted inserted replaced
18:f54bfd820e04 19:b5e99d8877c7
   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();
   303 
   304 
   304 	return iObservers.Count() == 0;
   305 	return iObservers.Count() == 0;
   305 	}
   306 	}
   306 	  
   307 	  
   307 // -----------------------------------------------------------------------------
   308 // -----------------------------------------------------------------------------
   483     {
   484     {
   484     PROFILE_DEBUG1( "CSipAlrSnapMonitor::ResetState entered" )
   485     PROFILE_DEBUG1( "CSipAlrSnapMonitor::ResetState entered" )
   485 
   486 
   486     DestroyMobilityAo();
   487     DestroyMobilityAo();
   487     Cancel();
   488     Cancel();
   488     iConnection.Close();
   489 //    iConnection.Close();
   489     iMigrationAllowedByClient = EFalse;
   490     iMigrationAllowedByClient = EFalse;
   490     iConnectionActive = EFalse;
   491     iConnectionActive = EFalse;
   491     iPreferredCarrierAvailableCalled = EFalse;
   492     iPreferredCarrierAvailableCalled = EFalse;
   492     PROFILE_DEBUG1( "CSipAlrSnapMonitor::ResetState returns" )
   493     PROFILE_DEBUG1( "CSipAlrSnapMonitor::ResetState returns" )
   493     }
   494     }