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
Constructor & Destructor Documentation
COMASuplPosHandlerBase()
IMPORT_C | COMASuplPosHandlerBase | ( | ) | [protected] |
~COMASuplPosHandlerBase()
IMPORT_C | ~COMASuplPosHandlerBase | ( | ) | [virtual] |
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 *)
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 |
InitializeL(TRequestStatus &)
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 &)
Parameters
const TUid & aImplementationUid | Implementation UID of the COMASuplPosHandlerBase. |
SetImplementationUID(const TUid &)
void | SetImplementationUID | ( | const TUid & | aImplementationUid | ) | [private] |
Parameters
const TUid & aImplementationUid | |
VersionL()
IMPORT_C TInt | VersionL | ( | ) | const |
Member Data Documentation
TUid
iDtor_ID_Key
TUid
| iDtor_ID_Key | [private] |
TUid
iImplementationUID
TUid
| iImplementationUID | [private] |
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.