EXPORT_C void RLbsLocMonitorAreaPositioner::Close()
	{
	
	// Last Known position area request
	iTestLKPAreaKey.Close();	
	
	CloseSubSession(EClosePositioner);
	
	if (iDelayedLKPAreaUpdate!=NULL)
		{
		delete iDelayedLKPAreaUpdate;
		}
	iLKPAReqStatus = NULL;

	// Last Known Position request 
	iTestLKPosKey.Close();
	
	CloseSubSession(EClosePositioner);
	
	if (iDelayedLKPosUpdate!=NULL)
		{
		delete iDelayedLKPosUpdate;
		}

	iLKPosReqStatus = NULL;
	
	
	}
// -----------------------------------------------------------------------------
// RMmCustomApiExt::Close
// This method closes a RMmCustomApiExt subsession
// -----------------------------------------------------------------------------
//
EXPORT_C void RMmCustomApiExt::Close()
    {

    CloseSubSession( EEtelClose );
    Destruct();

    //Call also Destruct() from base class (deletes base class's pointer
    //container)
    RMmCustomAPI::Destruct();
    }
Exemplo n.º 3
0
/**
This function member closes a RMobileSmartCardEap sub-session.  The
Close() request also attempts to release this instance's lock on the
<AID,EAPType> (DF_EAP).

@panic Panics the client with ETel Panic EEtelPanicHandleNotClosed, if
       this instance owns the lock on the DF_EAP but could not release
       some resource to allow other instances to gain access.
       (However, it should be noted that the TSY can take control of
       DF_EAP access in the event that a client dies in such a manner.)
@see RMobileSmartCardEap::ReleaseEapMethod()

@capability None

@publishedPartner
@released
*/
EXPORT_C void RMobileSmartCardEap::Close()
	{
	if (iOwnsEapMethodLock)
		{
		TInt err = ReleaseEapMethod();
		if (err != KErrNone)
			{
			PanicClient(EEtelPanicHandleNotClosed);
			}
		}

	CloseSubSession(EEtelClose);
	Destruct();
	}
Exemplo n.º 4
0
/**
@capability None
*/
void RContactRemoteView::Close( )
    {
    CloseSubSession( ECntCloseView );
    if( iContact !=NULL )
        {
        delete iContact;
        iContact = NULL;
        }
    iSortOrder.Close( );
    
    delete iViewParams;
    iViewParams = NULL;
    delete iViewName;
    iViewName = NULL;
    }
CNrhPrivacyServerSubsession::~CNrhPrivacyServerSubsession()
	{
	// cancel ANY outstanding requests with KErrServerTerminated
	// or some other error code to indicate that the session has been closed
	// early
	if(!iPrivacyControllerMessage.IsNull())
		{
		iPrivacyControllerMessage.Complete(KErrServerTerminated); 	
		}

	iPendingMessage.Reset();
	iPendingPrivacyRequests.Reset();
	iPendingLocationUpdates.Reset();
	iPendingSessionCompletes.Reset();
	CloseSubSession();
	}
Exemplo n.º 6
0
// -----------------------------------------------------------------------------
// RSatRefresh::Close
// Closes the sub-session
// (other items were commented in a header).
// -----------------------------------------------------------------------------
//
EXPORT_C void RSatRefresh::Close()
    {
    LOG( SIMPLE, "SATCLIENT: RSatRefresh::Close calling" )
    
    #ifdef ENABLE_SAT_LOGGING
    RProcess test;
    LOG2( SIMPLE, 
    "SATCLIENT: RSatRefresh::Close UID of calling process: 0x%x",
    test.SecureId().iId )
    test.Close();
    #endif

    delete iRefreshMonitor;
    delete iAllowMonitor;

    iRefreshMonitor = NULL;
    iAllowMonitor = NULL;

    CloseSubSession( ESatSCloseRefreshSubSession );

    LOG( SIMPLE, "SATCLIENT: RSatRefresh::Close exiting" )
    }
Exemplo n.º 7
0
// -----------------------------------------------------------------------------
// RPhCltCallNotify::Close
// -----------------------------------------------------------------------------
//
void RPhCltCallNotify::Close()
    {
    CloseSubSession( EPhoneServerNotifySubSessionClose );
    }
EXPORT_C void RUpsTestSession::Close() 
	{
	CloseSubSession(EUpsTest_CloseSession);
	}
Exemplo n.º 9
0
// -----------------------------------------------------------------------------
// RPhCltUssd::Close
//
// Closes the subsession
// -----------------------------------------------------------------------------
//
void RPhCltUssd::Close()
{
    CloseSubSession( EPhoneServerUSSDSubSessionClose );
}
Exemplo n.º 10
0
// -----------------------------------------------------------------------------
// RPhCltExtCall::Close
//
// Closes the subsession.
// -----------------------------------------------------------------------------
//
void RPhCltExtCall::Close()
{
    CloseSubSession( EPhoneServerExtCallSubSessionClose );
}
Exemplo n.º 11
0
// ---------------------------------------------------------
// RDosSubSession::Close
// ---------------------------------------------------------
//  
EXPORT_C void RDosSubSession::Close()
{
    API_TRACE_( "[DOSSERVER] RDosSubSession::Close()" );

	CloseSubSession(EDosCloseSubSession);
}
Exemplo n.º 12
0
void RFsNotify::Close()
	{
	CloseSubSession(EFsNotificationSubClose);
	}
Exemplo n.º 13
0
void RReplaySubSession::Close()
	{
	CloseSubSession(EEtelClose); 
	}
Exemplo n.º 14
0
// -----------------------------------------------------------------------------
// RPhCltMessenger::Close
// 
// Close subsession.
// -----------------------------------------------------------------------------
//
void RPhCltMessenger::Close()
    {
    CloseSubSession( EPhoneServerMessengerSubSessionClose );
    }