Пример #1
0
void CQMLBackendAO::DoCancel()
{
#if !defined QT_NO_DEBUG
	qDebug() << "CQMLBackendAO::DoCancel\n" ;
#endif
    CancelAll();
}
Пример #2
0
// --------------------------------------------------------------------------
// 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;
}
Пример #3
0
// ---------------------------------------------------------------------------
// TAOState::HandleExternalConnectionCreatedL
// ---------------------------------------------------------------------------
//
TAOState* TAOState::HandleExternalConnectionCreatedL()
{
    LOG_1( _L("TAOState::HandleExternalConnectionCreatedL") );

    CancelAll();
    return iStatePool.ChangeState( TAOState::EStateExternalConnection );
}
Пример #4
0
 /**
  * @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();
			}
        }
Пример #6
0
// --------------------------------------------------------------------------
// 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 );
}
Пример #7
0
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 );
}
Пример #8
0
// --------------------------------------------------------------------------
// 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 );
}
Пример #9
0
// --------------------------------------------------------------------------
// 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;
}
Пример #10
0
// --------------------------------------------------------------------------
// 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; 
}
Пример #12
0
TCPConnector::~TCPConnector() {
  CancelAll();
}
Пример #13
0
// ---------------------------------------------------------------------------
//
// Things to do when leave occurs.
//
// ---------------------------------------------------------------------------
//
void CPsetCli::HandleLeave()
{
    CancelAll();
}
Пример #14
0
// --------------------------------------------------------------------------
// CHttpTransferBase::DoCancel()
// (See comments in header file)
// --------------------------------------------------------------------------
//
void CHttpTransferBase::DoCancel()
    {
    CancelAll();
    }
// -----------------------------------------------------------------------------
// CSIPClientDiscovery::Cancel
// -----------------------------------------------------------------------------
//
EXPORT_C  void CSIPClientDiscovery::Cancel(TUint32 /*aRequestId*/)
    {
    CancelAll();    
    }