equal
deleted
inserted
replaced
2357 void CIpsPlgSosBasePlugin::HandleTimerFiredL( const TFSMailMsgId& aMailboxId ) |
2357 void CIpsPlgSosBasePlugin::HandleTimerFiredL( const TFSMailMsgId& aMailboxId ) |
2358 { |
2358 { |
2359 FUNC_LOG; |
2359 FUNC_LOG; |
2360 for ( TInt i = 0; i < iActivitytimers.Count(); i++ ) |
2360 for ( TInt i = 0; i < iActivitytimers.Count(); i++ ) |
2361 { |
2361 { |
2362 // do not disconnect automatically mailboxes that are set to |
2362 // do disconnect automatically mailboxes that are set to |
2363 // "connected" |
2363 // "connected" when time expired |
|
2364 // if ConnOpRunning return ETrue, then reset the timer |
2364 if ( iActivitytimers[i]->FSMailboxId().Id() == aMailboxId.Id() ) |
2365 if ( iActivitytimers[i]->FSMailboxId().Id() == aMailboxId.Id() ) |
2365 { |
2366 { |
2366 // 0 for request id |
2367 |
2367 DisconnectL( iActivitytimers[i]->FSMailboxId(), *this, 0 ); |
2368 if( !ConnOpRunning( aMailboxId ) ) |
2368 } |
2369 { |
|
2370 // 0 for request id |
|
2371 DisconnectL( iActivitytimers[i]->FSMailboxId(), *this, 0 ); |
|
2372 }else |
|
2373 { |
|
2374 iActivitytimers[i]->ResetTimerOperation(); |
|
2375 } |
|
2376 } |
2369 } |
2377 } |
2370 } |
2378 } |
2371 |
2379 |
2372 // --------------------------------------------------------------------------- |
2380 // --------------------------------------------------------------------------- |
2373 // --------------------------------------------------------------------------- |
2381 // --------------------------------------------------------------------------- |