void CQMLBackendAO::DoCancel() { #if !defined QT_NO_DEBUG qDebug() << "CQMLBackendAO::DoCancel\n" ; #endif CancelAll(); }
// -------------------------------------------------------------------------- // TAOState::HandleResetFactorySettingsL // -------------------------------------------------------------------------- // TAOState* TAOState::HandleResetFactorySettingsL( TBool aReset ) { LOG_1( _L("TAOState::HandleResetFactorySettingsL") ); TAOState* newState = NULL; if ( aReset ) { // Close connection CancelAll(); // Respond to Rfs that connection has been torn down and rfs sequence // can continue RProperty::Set( KPDPContextManager2, KPDPContextManagerFactorySettingsReset, EPDPContextManagerFactorySettingsResetStartReply ); newState = iStatePool.ChangeState( EStateResetFactorySettings ); } else { newState = DoActivatePDPContextL(); } return newState; }
// --------------------------------------------------------------------------- // TAOState::HandleExternalConnectionCreatedL // --------------------------------------------------------------------------- // TAOState* TAOState::HandleExternalConnectionCreatedL() { LOG_1( _L("TAOState::HandleExternalConnectionCreatedL") ); CancelAll(); return iStatePool.ChangeState( TAOState::EStateExternalConnection ); }
/** * @brief Stop performing events so the object can be destroyed * automatically once there are no longer any events in the io_service. */ void Stop() { { Lock lock(mutex_); running_ = false; } CancelAll(); }
//-------------------------------------------------- //-------------------------------------------------- void LocalNotificationSystem::SetEnabled(bool in_enabled) { m_enabled = in_enabled; if (m_enabled == false) { CancelAll(); } }
// -------------------------------------------------------------------------- // TAOState::HandleGeneralError // -------------------------------------------------------------------------- // TAOState* TAOState::HandleGeneralError() { LOG_1( _L("TAOState::HandleGeneralError") ); // Error occured: // Cancel all operations and go to disconnected state CancelAll(); return iStatePool.ChangeState( EStateDisconnected ); }
TAOState* TAOState::HandleNetworkChangedL( MAOConnectionManager::TNetworkType /*aNetworkType*/ ) #endif { LOG_2( _L("TAOState::HandleNetworkChangedL: aNetworkType: %d"), aNetworkType ); // PLMN change notification // Cancel all requests CancelAll(); return iStatePool.ChangeState( EStateStarting ); }
// -------------------------------------------------------------------------- // TAOState::HandleSettingsReceivedL // -------------------------------------------------------------------------- // TAOState* TAOState::HandleSettingsReceivedL() { LOG_1( _L("TAOState::HandleSettingsReceivedL") ); // By default if settings are changed OTA // cancel all requests and switch to starting state CancelAll(); // Set Always-On mode to cellmo side SetAlwaysOnModeL(); return iStatePool.ChangeState( EStateStarting ); }
// -------------------------------------------------------------------------- // TAOState::HandleSuccesfulRAUEventL // -------------------------------------------------------------------------- // TAOState* TAOState::HandleSuccesfulRAUEventL() { LOG_1( _L("TAOState::HandleSuccesfulRAUEventL") ); TAOState* newState = NULL; // If we don't have PDP context active try to activate it if ( !iStateContext.ConnectionManager().IsPDPContextActive() ) { CancelAll(); newState = DoActivatePDPContextL(); } return newState; }
// -------------------------------------------------------------------------- // TAOState::DoHandleConnectionDeletedL // -------------------------------------------------------------------------- // TAOState* TAOState::DoHandleConnectionDeletedL() { LOG_1( _L("TAOState::DoHandleConnectionDeletedL") ); MAOConnectionManager& connectionManager = iStateContext.ConnectionManager(); TAOState* newState = NULL; if ( !connectionManager.IsPDPContextActive() ) { CancelAll(); newState = DoActivatePDPContextL(); } return newState; }
void KSingleIVIDLeg::SetActive(bool active) { if (active == false) CancelAll(); m_isActive = active; }
TCPConnector::~TCPConnector() { CancelAll(); }
// --------------------------------------------------------------------------- // // Things to do when leave occurs. // // --------------------------------------------------------------------------- // void CPsetCli::HandleLeave() { CancelAll(); }
// -------------------------------------------------------------------------- // CHttpTransferBase::DoCancel() // (See comments in header file) // -------------------------------------------------------------------------- // void CHttpTransferBase::DoCancel() { CancelAll(); }
// ----------------------------------------------------------------------------- // CSIPClientDiscovery::Cancel // ----------------------------------------------------------------------------- // EXPORT_C void CSIPClientDiscovery::Cancel(TUint32 /*aRequestId*/) { CancelAll(); }