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
Public Member Functions | |
---|---|
~COMASuplPosHandlerBase () | |
void | CancelInitialize () |
COMASuplPosSessionBase * | CreateNewSessionL (MOMASuplObserver *) |
IMPORT_C TUid | ImplementationUID () |
void | InitializeL ( TRequestStatus &) |
IMPORT_C COMASuplPosHandlerBase * | NewL (const TUid &) |
IMPORT_C TInt | VersionL () |
Protected Member Functions | |
---|---|
COMASuplPosHandlerBase () |
Private Member Functions | |
---|---|
void | SetImplementationUID (const TUid &) |
Private Attributes | |
---|---|
TUid | iDtor_ID_Key |
TUid | iImplementationUID |
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.
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.
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. |
IMPORT_C TUid | ImplementationUID | ( | ) | const |
Provides the Implementation UID of COMASuplPosHandlerBase implementation.
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.
TRequestStatus & aStatus | TRequestStatus for completion of asynchronous request |
IMPORT_C COMASuplPosHandlerBase * | NewL | ( | const TUid & | aImplementationUid | ) | [static] |
Creates a new instance of a COMASuplPosHandlerBase implementation.
const TUid & aImplementationUid | Implementation UID of the COMASuplPosHandlerBase. |
void | SetImplementationUID | ( | const TUid & | aImplementationUid | ) | [private] |
Sets the Implementation UID of COMASuplPosHandlerBase implementation.
const TUid & aImplementationUid |
IMPORT_C TInt | VersionL | ( | ) | const |
Provides the Version of COMASuplPosHandlerBase implementation.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.