CSimDispatcher Class Reference
class CSimDispatcher : public CBase |
This class is responsible for packing and unpacking data belonging to Sim related requests to the Licensee LTSY.
Public Member Functions |
---|
| ~CSimDispatcher() |
void | CallbackAppendApnName(TInt) |
void | CallbackChangeSecurityCode(TInt) |
void | CallbackDeleteApnName(TInt) |
void | CallbackEnumerateApnEntries(TInt, TUint32) |
void | CallbackGetActiveIccApplicationType(TInt, MLtsyDispatchSimGetActiveIccApplicationType::TIccType) |
void | CallbackGetAnswerToReset(TInt, const TDesC8 &) |
void | CallbackGetApnControlListServiceStatus(TInt, RMobilePhone::TAPNControlListServiceStatus) |
void | CallbackGetApnName(TInt, const RMobilePhone::TAPNEntryV3 &) |
void | CallbackGetCustomerServiceProfile(TInt, const RMobilePhone::TMobilePhoneCspFileV1 &) |
void | CallbackGetIccMessageWaitingIndicators(TInt, const RMobilePhone::TMobilePhoneMessageWaitingV1 &) |
void | CallbackGetServiceTable(TInt, const RMobilePhone::TMobilePhoneServiceTableV1 &) |
void | CallbackGetSimAuthenticationData(TInt, const TDesC8 &, const TDesC8 &) |
void | CallbackGetSimAuthenticationData(TInt, const TDesC8 &, const TDesC8 &, const TDesC8 &, const TDesC8 &) |
void | CallbackGetSimCardReaderStatus(TInt, TUint8) |
void | CallbackGetSubscriberId(TInt, const TDesC8 &) |
void | CallbackNotifyApnControlListServiceStatusChange(TInt, RMobilePhone::TAPNControlListServiceStatus) |
void | CallbackNotifyApnListChange(TInt) |
void | CallbackNotifyIccMessageWaitingIndicatorsChange(TInt, const RMobilePhone::TMobilePhoneMessageWaitingV1 &) |
void | CallbackNotifySimCardStatus(TInt, RMmCustomAPI::TSIMCardStatus) |
void | CallbackPowerSimOff(TInt) |
void | CallbackPowerSimOn(TInt) |
void | CallbackReadSimFile(TInt, const TDesC8 &) |
void | CallbackRefreshSimFiles(TInt, TUint16) |
void | CallbackSendApduRequest(TInt, TUint8, TUint8, TUint8, const TDesC8 &) |
void | CallbackSendApduRequestV2(TInt, const TDesC8 &) |
void | CallbackSetApnControlListServiceStatus(TInt) |
void | CallbackSetFdnSetting(TInt) |
void | CallbackSetIccMessageWaitingIndicators(TInt) |
void | CallbackSetSimMessageStatusRead(TInt) |
void | CallbackSimLockActivate(TInt) |
void | CallbackSimLockDeActivate(TInt) |
void | CallbackSimWarmReset(TInt) |
void | CallbackSync(CRequestQueueOneShot::TIpcDataPackage &) |
TInt
| DispatchAppendApnNameL(const CMmDataPackage *) |
TInt
| DispatchChangeSecurityCodeL(const CMmDataPackage *) |
TInt
| DispatchDeleteApnNameL(const CMmDataPackage *) |
TInt
| DispatchEnumerateApnEntriesL() |
TInt
| DispatchGetAnswerToResetL(const CMmDataPackage *) |
TInt
| DispatchGetApnControlListServiceStatusL() |
TInt
| DispatchGetApnNameL(const CMmDataPackage *) |
TInt
| DispatchGetCustomerServiceProfileL() |
TInt
| DispatchGetIccMessageWaitingIndicatorsL() |
TInt
| DispatchGetIccTypeL() |
TInt
| DispatchGetServiceTableL(const CMmDataPackage *) |
TInt
| DispatchGetSimAuthenticationDataL(const CMmDataPackage *) |
TInt
| DispatchGetSimCardReaderStatusL() |
TInt
| DispatchGetSubscriberIdL() |
TInt
| DispatchPowerSimOffL() |
TInt
| DispatchPowerSimOnL() |
TInt
| DispatchReadSimFileL(const CMmDataPackage *) |
TInt
| DispatchSendApduRequestL(const CMmDataPackage *) |
TInt
| DispatchSendApduRequestV2L(const CMmDataPackage *) |
TInt
| DispatchSetApnControlListServiceStatusL(const CMmDataPackage *) |
TInt
| DispatchSetFdnSettingL(const CMmDataPackage *) |
TInt
| DispatchSetIccMessageWaitingIndicatorsL(const CMmDataPackage *) |
TInt
| DispatchSetSimMessageStatusReadL(const CMmDataPackage *) |
TInt
| DispatchSimLockActivateL(const CMmDataPackage *) |
TInt
| DispatchSimLockDeActivateL(const CMmDataPackage *) |
TInt
| DispatchSimRefreshDoneL(const CMmDataPackage *) |
TInt
| DispatchSimWarmResetL() |
CSimDispatcher * | NewL(MLtsyDispatchFactoryV1 &, MmMessageManagerCallback &, CRequestQueueOneShot &) |
CSimDispatcher * | NewLC(MLtsyDispatchFactoryV1 &, MmMessageManagerCallback &, CRequestQueueOneShot &) |
void | SetDispatcherHolder(TDispatcherHolder &) |
Constructor & Destructor Documentation
CSimDispatcher(MLtsyDispatchFactoryV1 &, MmMessageManagerCallback &, CRequestQueueOneShot &)
~CSimDispatcher()
~CSimDispatcher | ( | ) | [virtual] |
Member Functions Documentation
CallbackAppendApnName(TInt)
void | CallbackAppendApnName | ( | TInt | aError | ) | |
Callback function to be used by the request to complete.
Parameters
TInt aError | The error code to be returned to the CTSY Dispatcher. |
CallbackChangeSecurityCode(TInt)
void | CallbackChangeSecurityCode | ( | TInt | aError | ) | |
Callback function to be used by the request to complete the EMobilePhoneChangeSecurityCode request back to the Common TSY.
Parameters
TInt aError | The error code to be returned to the CTSY Dispatcher. |
CallbackDeleteApnName(TInt)
void | CallbackDeleteApnName | ( | TInt | aError | ) | |
Callback function to be used by the request to complete.
Parameters
TInt aError | The error code to be returned to the CTSY Dispatcher. |
CallbackEnumerateApnEntries(TInt, TUint32)
void | CallbackEnumerateApnEntries | ( | TInt | aError, |
| TUint32 | aNumEntries |
| ) | |
Callback function to be used by the request to complete.
Parameters
TInt aError | The error code to be returned to the CTSY Dispatcher. |
TUint32 aNumEntries | The total number of available entries. |
CallbackGetActiveIccApplicationType(TInt, MLtsyDispatchSimGetActiveIccApplicationType::TIccType)
Callback function to be used by the request to complete.
CallbackGetAnswerToReset(TInt, const TDesC8 &)
void | CallbackGetAnswerToReset | ( | TInt | aError, |
| const TDesC8 & | aAnswerToReset |
| ) | |
Parameters
TInt aError | The error code to be returned to the CTSY Dispatcher. |
const TDesC8 & aAnswerToReset | The answer to reset. |
CallbackGetApnControlListServiceStatus(TInt, RMobilePhone::TAPNControlListServiceStatus)
Callback function to be used by the request to complete.
CallbackGetApnName(TInt, const RMobilePhone::TAPNEntryV3 &)
Callback function to be used by the request to complete.
CallbackGetCustomerServiceProfile(TInt, const RMobilePhone::TMobilePhoneCspFileV1 &)
Callback function to be used by the request to complete.
CallbackGetIccMessageWaitingIndicators(TInt, const RMobilePhone::TMobilePhoneMessageWaitingV1 &)
CallbackGetServiceTable(TInt, const RMobilePhone::TMobilePhoneServiceTableV1 &)
CallbackGetSimAuthenticationData(TInt, const TDesC8 &, const TDesC8 &)
void | CallbackGetSimAuthenticationData | ( | TInt | aError, |
| const TDesC8 & | aSignedResponse, |
| const TDesC8 & | aCipheringKey |
| ) | |
Parameters
TInt aError | The error code to be returned to the CTSY Dispatcher. |
const TDesC8 & aSignedResponse | The signed response. The length should not be greater than RMmCustomAPI::KMaxParametersLength. |
const TDesC8 & aCipheringKey | The ciphering key. The length should not be greater than RMmCustomAPI::KMaxParametersLength. |
CallbackGetSimAuthenticationData(TInt, const TDesC8 &, const TDesC8 &, const TDesC8 &, const TDesC8 &)
void | CallbackGetSimAuthenticationData | ( | TInt | aError, |
| const TDesC8 & | aResponse, |
| const TDesC8 & | aCipheringKey, |
| const TDesC8 & | aIntegrityKey, |
| const TDesC8 & | aAUTS |
| ) | |
Parameters
TInt aError | The error code to be returned to the CTSY Dispatcher. |
const TDesC8 & aResponse | The response. The length should not be greater than RMmCustomAPI::KMaxParametersLength. |
const TDesC8 & aCipheringKey | The ciphering key. The length should not be greater than RMmCustomAPI::KMaxParametersLength. |
const TDesC8 & aIntegrityKey | The integrity key. The length should not be greater than RMmCustomAPI::KMaxParametersLength. |
const TDesC8 & aAUTS | The AUTS value. A value generated by the peer upon experiencing a synchronization failure, 112 bits. This is needed only in error case. The length should not be greater than RMmCustomAPI::KMaxParametersLength. |
CallbackGetSimCardReaderStatus(TInt, TUint8)
void | CallbackGetSimCardReaderStatus | ( | TInt | aError, |
| TUint8 | aSimCardReaderStatus |
| ) | |
Parameters
TInt aError | The error code to be returned to the CTSY Dispatcher. |
TUint8 aSimCardReaderStatus | The sim card reader's status. Bits: 1-3 Identity of card reader, 4 0=Card reader is not removable, 1=Card reader is removable, 5 0=Card reader is not present, 1=Card reader is present, 6 0=Card reader present is not ID-1 size, 1=Card reader present is ID-1 size, 7 0=No card present, 1=Card is present in reader, 8 0=No card powered, 1=Card in reader is powered. |
CallbackGetSubscriberId(TInt, const TDesC8 &)
void | CallbackGetSubscriberId | ( | TInt | aError, |
| const TDesC8 & | aId |
| ) | |
Parameters
TInt aError | The error code to be returned to the CTSY Dispatcher. |
const TDesC8 & aId | The subscriber id to be returned. |
CallbackNotifyApnControlListServiceStatusChange(TInt, RMobilePhone::TAPNControlListServiceStatus)
Callback function to be used by the request to complete.
CallbackNotifyApnListChange(TInt)
void | CallbackNotifyApnListChange | ( | TInt | aError | ) | |
Callback function to be used by the request to complete.
Parameters
TInt aError | The error code to be returned to the CTSY Dispatcher. |
CallbackNotifyIccMessageWaitingIndicatorsChange(TInt, const RMobilePhone::TMobilePhoneMessageWaitingV1 &)
Callback function to be used by the request to complete.
CallbackNotifySimCardStatus(TInt, RMmCustomAPI::TSIMCardStatus)
CallbackPowerSimOff(TInt)
void | CallbackPowerSimOff | ( | TInt | aError | ) | |
Parameters
TInt aError | The error code to be returned to the CTSY Dispatcher. |
CallbackPowerSimOn(TInt)
void | CallbackPowerSimOn | ( | TInt | aError | ) | |
Parameters
TInt aError | The error code to be returned to the CTSY Dispatcher. |
CallbackReadSimFile(TInt, const TDesC8 &)
void | CallbackReadSimFile | ( | TInt | aError, |
| const TDesC8 & | aResponseBytes |
| ) | |
Parameters
TInt aError | The error code to be returned to the CTSY Dispatcher. |
const TDesC8 & aResponseBytes | The bytes read from the SIM. |
CallbackRefreshSimFiles(TInt, TUint16)
void | CallbackRefreshSimFiles | ( | TInt | aError, |
| TUint16 | aRefreshFileList |
| ) | |
Callback function to be used by the request to complete.
Parameters
TInt aError | The error code to be returned to the CTSY Dispatcher. |
TUint16 aRefreshFileList | |
CallbackSendApduRequest(TInt, TUint8, TUint8, TUint8, const TDesC8 &)
Parameters
TInt aError | The error code to be returned to the CTSY Dispatcher. |
TUint8 aServiceType | The value for the service type of the request to be returned to the client. |
TUint8 aCardReaderNumber | The value for the card reader number of the request to be returned to the client. |
TUint8 aApplicationType | The value for the application type of the request to be returned to the client. |
const TDesC8 & aResponseData | The transparent response data conveyed from the baseband to be returned to the client. |
CallbackSendApduRequestV2(TInt, const TDesC8 &)
void | CallbackSendApduRequestV2 | ( | TInt | aError, |
| const TDesC8 & | aResponseData |
| ) | |
Parameters
TInt aError | The error code to be returned to the CTSY Dispatcher. |
const TDesC8 & aResponseData | The transparent response data conveyed from the baseband to be returned to the client. |
CallbackSetApnControlListServiceStatus(TInt)
void | CallbackSetApnControlListServiceStatus | ( | TInt | aError | ) | |
Callback function to be used by the request to complete.
Parameters
TInt aError | The error code to be returned to the CTSY Dispatcher. |
CallbackSetFdnSetting(TInt)
void | CallbackSetFdnSetting | ( | TInt | aError | ) | |
Parameters
TInt aError | The error code to be returned to the CTSY Dispatcher. |
CallbackSetIccMessageWaitingIndicators(TInt)
void | CallbackSetIccMessageWaitingIndicators | ( | TInt | aError | ) | |
Parameters
TInt aError | The error code to be returned to the CTSY Dispatcher. |
CallbackSetSimMessageStatusRead(TInt)
void | CallbackSetSimMessageStatusRead | ( | TInt | aError | ) | |
Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackSimSetMessageStatusReadComp()
Parameters
TInt aError | The error code to be returned to the CTSY Dispatcher. |
CallbackSimLockActivate(TInt)
void | CallbackSimLockActivate | ( | TInt | aError | ) | |
Parameters
TInt aError | The error code to be returned to the CTSY Dispatcher. |
CallbackSimLockDeActivate(TInt)
void | CallbackSimLockDeActivate | ( | TInt | aError | ) | |
Parameters
TInt aError | The error code to be returned to the CTSY Dispatcher. |
CallbackSimWarmReset(TInt)
void | CallbackSimWarmReset | ( | TInt | aError | ) | |
Parameters
TInt aError | The error code to be returned to the CTSY Dispatcher. |
CallbackSync(CRequestQueueOneShot::TIpcDataPackage &)
ConstructL()
void | ConstructL | ( | ) | [private] |
Second phase constructor.
DispatchAppendApnNameL(const CMmDataPackage *)
Unpack data related to EMobilePhoneAppendAPNName and pass request on to Licensee LTSY.
DispatchChangeSecurityCodeL(const CMmDataPackage *)
Unpack data related to EMobilePhoneChangeSecurityCode and pass request on to Licensee LTSY.
DispatchDeleteApnNameL(const CMmDataPackage *)
Unpack data related to EMobilePhoneDeleteAPNName and pass request on to Licensee LTSY.
DispatchEnumerateApnEntriesL()
TInt
| DispatchEnumerateApnEntriesL | ( | ) | |
Unpack data related to EMobilePhoneEnumerateAPNEntries and pass request on to Licensee LTSY.
DispatchGetAnswerToResetL(const CMmDataPackage *)
Unpack data related to ECustomGetATRIPC and pass request on to Licensee LTSY.
DispatchGetApnControlListServiceStatusL()
TInt
| DispatchGetApnControlListServiceStatusL | ( | ) | |
Unpack data related to EMobilePhoneGetAPNControlListServiceStatus and pass request on to Licensee LTSY.
DispatchGetApnNameL(const CMmDataPackage *)
Unpack data related to EMobilePhoneGetAPNname and pass request on to Licensee LTSY.
DispatchGetCustomerServiceProfileL()
TInt
| DispatchGetCustomerServiceProfileL | ( | ) | |
Unpack data related to EMobilePhoneGetCustomerServiceProfile and pass request on to Licensee LTSY.
DispatchGetIccMessageWaitingIndicatorsL()
TInt
| DispatchGetIccMessageWaitingIndicatorsL | ( | ) | |
Unpack data related to EMobilePhoneGetIccMessageWaitingIndicators and pass request on to Licensee LTSY.
DispatchGetIccTypeL()
TInt
| DispatchGetIccTypeL | ( | ) | |
Unpack data related to EMmTsySimGetICCType and pass request on to Licensee LTSY.
DispatchGetServiceTableL(const CMmDataPackage *)
DispatchGetSimAuthenticationDataL(const CMmDataPackage *)
Unpack data related to ECustomGetSimAuthenticationDataIPC and pass request on to Licensee LTSY.
DispatchGetSimCardReaderStatusL()
TInt
| DispatchGetSimCardReaderStatusL | ( | ) | |
Pass request on to Licensee LTSY.
DispatchGetSubscriberIdL()
TInt
| DispatchGetSubscriberIdL | ( | ) | |
Unpack data related to EMobilePhoneGetSubscriberId and pass request on to Licensee LTSY.
DispatchPowerSimOffL()
TInt
| DispatchPowerSimOffL | ( | ) | |
Pass ECustomPowerSimOffIPC request on to Licensee LTSY.
DispatchPowerSimOnL()
TInt
| DispatchPowerSimOnL | ( | ) | |
Pass ECustomPowerSimOnIPC request on to Licensee LTSY.
DispatchReadSimFileL(const CMmDataPackage *)
Unpack data related to ECustomReadSimFileIPC and pass request on to Licensee LTSY.
DispatchSendApduRequestL(const CMmDataPackage *)
Unpack data related to ECustomSendAPDUReqIPC and pass request on to Licensee LTSY.
DispatchSendApduRequestV2L(const CMmDataPackage *)
Unpack data related to ECustomSendAPDUReqV2IPC and pass request on to Licensee LTSY.
DispatchSetApnControlListServiceStatusL(const CMmDataPackage *)
Unpack data related to EMobilePhoneSetAPNControlListServiceStatus and pass request on to Licensee LTSY.
DispatchSetFdnSettingL(const CMmDataPackage *)
Unpack data related to EMobilePhoneSetFdnSetting and pass request on to Licensee LTSY.
DispatchSetIccMessageWaitingIndicatorsL(const CMmDataPackage *)
Unpack data related to EMobilePhoneSetIccMessageWaitingIndicators and pass request on to Licensee LTSY.
DispatchSetSimMessageStatusReadL(const CMmDataPackage *)
Unpack data related to ECustomSetSimMessageStatusReadIPC and pass request on to Licensee LTSY.
DispatchSimLockActivateL(const CMmDataPackage *)
Unpack data related to ECustomSimLockActivateIPC and pass request on to Licensee LTSY.
DispatchSimLockDeActivateL(const CMmDataPackage *)
Unpack data related to ECustomSimLockDeActivateIPC and pass request on to Licensee LTSY.
DispatchSimRefreshDoneL(const CMmDataPackage *)
Unpack data related to EMmTsySimRefreshDoneIPC and pass request on to Licensee LTSY.
DispatchSimWarmResetL()
TInt
| DispatchSimWarmResetL | ( | ) | |
Pass ECustomSimWarmResetIPC request on to Licensee LTSY.
NewL(MLtsyDispatchFactoryV1 &, MmMessageManagerCallback &, CRequestQueueOneShot &)
NewLC(MLtsyDispatchFactoryV1 &, MmMessageManagerCallback &, CRequestQueueOneShot &)
SetDispatcherHolder(TDispatcherHolder &)
Set the dispatcher holder.
Member Data Documentation
TDispatcherHolder * iDispatcherHolder
MLtsyDispatchSimAppendApnName * iLtsyDispatchSimAppendApnName
MLtsyDispatchSimChangeSecurityCode * iLtsyDispatchSimChangeSecurityCode
MLtsyDispatchSimDeleteApnName * iLtsyDispatchSimDeleteApnName
MLtsyDispatchSimEnumerateApnEntries * iLtsyDispatchSimEnumerateApnEntries
MLtsyDispatchSimGetAnswerToReset * iLtsyDispatchSimGetAnswerToReset
MLtsyDispatchSimGetApnControlListServiceStatus * iLtsyDispatchSimGetApnControlListServiceStatus
MLtsyDispatchSimGetApnName * iLtsyDispatchSimGetApnName
MLtsyDispatchSimGetCustomerServiceProfile * iLtsyDispatchSimGetCustomerServiceProfile
MLtsyDispatchSimGetIccMessageWaitingIndicators * iLtsyDispatchSimGetIccMessageWaitingIndicators
MLtsyDispatchSimGetActiveIccApplicationType * iLtsyDispatchSimGetIccType
MLtsyDispatchSimGetServiceTable * iLtsyDispatchSimGetServiceTable
MLtsyDispatchSimGetSimAuthenticationEapAkaData * iLtsyDispatchSimGetSimAuthenticationEapAkaData
MLtsyDispatchSimGetSimAuthenticationEapSimData * iLtsyDispatchSimGetSimAuthenticationEapSimData
MLtsyDispatchSimGetSimCardReaderStatus * iLtsyDispatchSimGetSimCardReaderStatus
MLtsyDispatchSimGetSubscriberId * iLtsyDispatchSimGetSubscriberId
MLtsyDispatchSimPowerSimOff * iLtsyDispatchSimPowerSimOff
MLtsyDispatchSimPowerSimOn * iLtsyDispatchSimPowerSimOn
MLtsyDispatchSimReadSimFile * iLtsyDispatchSimReadSimFile
MLtsyDispatchSimSendApduRequest * iLtsyDispatchSimSendApduRequest
MLtsyDispatchSimSendApduRequestV2 * iLtsyDispatchSimSendApduRequestV2
MLtsyDispatchSimSetApnControlListServiceStatus * iLtsyDispatchSimSetApnControlListServiceStatus
MLtsyDispatchSimSetFdnSetting * iLtsyDispatchSimSetFdnSetting
MLtsyDispatchSimSetIccMessageWaitingIndicators * iLtsyDispatchSimSetIccMessageWaitingIndicators
MLtsyDispatchSimSetSimMessageStatusRead * iLtsyDispatchSimSetSimMessageStatusRead
MLtsyDispatchSimSimLockActivate * iLtsyDispatchSimSimLockActivate
MLtsyDispatchSimSimLockDeActivate * iLtsyDispatchSimSimLockDeActivate
MLtsyDispatchSimSimRefreshDone * iLtsyDispatchSimSimRefreshDone
MLtsyDispatchSimSimWarmReset * iLtsyDispatchSimSimWarmReset
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.