CPhonebookEnDispatcher Class Reference
| class CPhonebookEnDispatcher : public CBase |
This class is responsible for packing and unpacking data belonging to PhonebookEn related requests to the Licensee LTSY.
| Public Member Functions |
|---|
| ~CPhonebookEnDispatcher() |
| void | CallbackStoreGetInfo(TInt, TInt) |
| void | CallbackStoreReadAll(TInt, TInt, const TDesC &, TBool) |
| void | CallbackStoreReadEntry(TInt, TInt, const TDesC &) |
| void | CallbackSync(CRequestQueueOneShot::TIpcDataPackage &) |
|
TInt
| DispatchStoreGetInfoL() |
|
TInt
| DispatchStoreReadAllL() |
|
TInt
| DispatchStoreReadEntryL(const CMmDataPackage *) |
|
CPhonebookEnDispatcher * | NewL(MLtsyDispatchFactoryV1 &, MmMessageManagerCallback &, CRequestQueueOneShot &) |
|
CPhonebookEnDispatcher * | NewLC(MLtsyDispatchFactoryV1 &, MmMessageManagerCallback &, CRequestQueueOneShot &) |
| void | SetDispatcherHolder(TDispatcherHolder &) |
Constructor & Destructor Documentation
CPhonebookEnDispatcher(MLtsyDispatchFactoryV1 &, MmMessageManagerCallback &, CRequestQueueOneShot &)
~CPhonebookEnDispatcher()
| ~CPhonebookEnDispatcher | ( | ) | [virtual] |
Member Functions Documentation
CallbackStoreGetInfo(TInt, TInt)
| void | CallbackStoreGetInfo | ( | TInt | aError, |
| | TInt | aUsedEntries |
| | ) | |
Parameters
| TInt aError | The error code to be returned to the CTSY Dispatcher. |
| TInt aUsedEntries | The number of used entries in the EN storage. |
CallbackStoreReadAll(TInt, TInt, const TDesC &, TBool)
Parameters
| TInt aError | KErrNone on success, or another error code indicating the error otherwise. |
| TInt aIndex | The index of the entry. |
| const TDesC & aNumber | The number stored in the EN entry. The length of this should not be more than 6. |
| TBool aMoreToCome | ETrue if there are more entries to be read, EFalse otherwise. |
CallbackStoreReadEntry(TInt, TInt, const TDesC &)
| void | CallbackStoreReadEntry | ( | TInt | aError, |
| | TInt | aIndex, |
| | const TDesC & | aNumber |
| | ) | |
Parameters
| TInt aError | KErrNone on success, or another error code indicating the error otherwise. |
| TInt aIndex | The index of the entry. |
| const TDesC & aNumber | The number stored in the EN entry. The length of this should not be more than 6. |
CallbackSync(CRequestQueueOneShot::TIpcDataPackage &)
ConstructL()
| void | ConstructL | ( | ) | [private] |
Second phase constructor.
DispatchStoreGetInfoL()
|
TInt
| DispatchStoreGetInfoL | ( | ) | |
Pass request on to Licensee LTSY.
DispatchStoreReadAllL()
|
TInt
| DispatchStoreReadAllL | ( | ) | |
Unpack data related to EMmTsyENStoreReadAllPhase1IPC and pass request on to Licensee LTSY.
DispatchStoreReadEntryL(const CMmDataPackage *)
Unpack data related to EMmTsyENStoreReadIPC and pass request on to Licensee LTSY.
FillEnStoreResponseListL(TInt, const TDesC &)
| void | FillEnStoreResponseListL | ( | TInt | aIndex, |
| | const TDesC & | aNumber |
| | ) | [private] |
NewL(MLtsyDispatchFactoryV1 &, MmMessageManagerCallback &, CRequestQueueOneShot &)
NewLC(MLtsyDispatchFactoryV1 &, MmMessageManagerCallback &, CRequestQueueOneShot &)
SetDispatcherHolder(TDispatcherHolder &)
Set the dispatcher holder.
Member Data Documentation
const TInt KMaxTotalEntries
| const TInt | KMaxTotalEntries | [private, static] |
TDispatcherHolder * iDispatcherHolder
CArrayPtrFlat< TENStoreResponse > * iEnEntriesArray
MLtsyDispatchPhonebookEnStoreGetInfo * iLtsyDispatchPhonebookEnStoreGetInfo
MLtsyDispatchPhonebookEnStoreReadAll * iLtsyDispatchPhonebookEnStoreReadAll
MLtsyDispatchPhonebookEnStoreReadEntry * iLtsyDispatchPhonebookEnStoreReadEntry
MLtsyDispatchFactoryV1 & iLtsyFactoryV1
MmMessageManagerCallback & iMessageManagerCallback
CRequestQueueOneShot & iRequestAsyncOneShot
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.