COMASuplPosHandlerBase Class Reference

class COMASuplPosHandlerBase : public CBase

Base class for OMA SUPL POS Handler. This is an abstract class that has to be implemented by the POS Message plug-in. POS Message plug-in provides the licensee implementation that provides POS messages to be transferred over the secure IP connection established by SUPL Framework

Since
Series 60 3.1u

Inherits from

Constructor & Destructor Documentation

COMASuplPosHandlerBase()

IMPORT_C COMASuplPosHandlerBase ( ) [protected]

Constructor

~COMASuplPosHandlerBase()

IMPORT_C ~COMASuplPosHandlerBase ( ) [virtual]

Destructor.

Member Functions Documentation

CancelInitialize()

void CancelInitialize ( ) [pure virtual]

Cancellation method for InitializeL of POS message plugin . If request cancellation is successful, POS Message plug-in completes the original request with KErrCancel. If there is no outstanding request, no action is taken.

CreateNewSessionL(MOMASuplObserver *)

COMASuplPosSessionBase * CreateNewSessionL ( MOMASuplObserver * aSuplObserver ) [pure virtual]

Creates a new instance of a COMASuplPosSessionBase implementation. CreateNewSessionL is a synchronous factory method invoked by the SUPL framework for POS session creation.

The implementation of CreateNewSessionL should create an object of the subclass of COMASuplPosSessionBase . SUPL POS Message plug-in has to allocate memory for the COMASuplPosSessionBase subclass object. Destroying this object is the responsibility of the SUPL Framework.

CreateNewSessionL takes the MOMASuplObserver as an argument.

Parameters

MOMASuplObserver * aSuplObserver is a mandatory parameter for construction of COMASuplPosSessionBase. The default constructor of COMASuplPosSessionBase is private and hence the subclass of COMASuplPosSessionBase has to define the overloaded constructor that takes MOMASuplObserver as the parameter. The subclass of COMASuplPosHandlerBase should implement CreateSessionL in such a way that COMASuplPosSessionBase::iStatusIndicator is set to the MOMASuplObserver parameter passed to CreateNewSessionL.

ImplementationUID()

IMPORT_C TUid ImplementationUID ( ) const

Provides the Implementation UID of COMASuplPosHandlerBase implementation.

InitializeL(TRequestStatus &)

void InitializeL ( TRequestStatus & aStatus ) [pure virtual]

Asynchronous method to Initialize the instance of a COMASuplPosHandlerBase implementation. When the SUPL Framework loads the POS Handler, the SUPL Framework invokes the InitializeL method. The POS Handler can perform any initialization operation when this method is invoked.

Parameters

TRequestStatus & aStatus TRequestStatus for completion of asynchronous request

NewL(const TUid &)

IMPORT_C COMASuplPosHandlerBase * NewL ( const TUid & aImplementationUid ) [static]

Creates a new instance of a COMASuplPosHandlerBase implementation.

Parameters

const TUid & aImplementationUid Implementation UID of the COMASuplPosHandlerBase.

SetImplementationUID(const TUid &)

void SetImplementationUID ( const TUid & aImplementationUid ) [private]

Sets the Implementation UID of COMASuplPosHandlerBase implementation.

Parameters

const TUid & aImplementationUid

VersionL()

IMPORT_C TInt VersionL ( ) const

Provides the Version of COMASuplPosHandlerBase implementation.

Member Data Documentation

TUid iDtor_ID_Key

TUid iDtor_ID_Key [private]

TUid iImplementationUID

TUid iImplementationUID [private]