CSmsDispatcher Class Reference
class CSmsDispatcher : public CBase
|
This class is responsible for packing and unpacking data belonging to Sms related requests to the Licensee LTSY.
Public Member Functions
|
|
~CSmsDispatcher
()
|
void
|
CallbackAckSmsStored
(
TInt
)
|
void
|
CallbackActivateSmsRouting
(
CRequestQueueOneShot::TIpcDataPackage
*)
|
void
|
CallbackGetSmsStoreInfo
(
TInt
,
TInt
,
TInt
)
|
void
|
CallbackGetSmspList
(
TInt
, const
TDesC
&, const
TDesC
&, const
TDesC
&, const
DispatcherSim::TSmsParameters
&,
TBool
)
|
void
|
CallbackNackSmsStored
(
TInt
)
|
void
|
CallbackNotifyReceiveSmsMessage
(
TInt
,
TBool
, const
TSmsMsg
&)
|
void
|
CallbackResumeSmsReception
(
TInt
)
|
void
|
CallbackSendSatSms
(
TInt
)
|
void
|
CallbackSendSmsMessage
(
TInt
,
TInt
, const
TDesC8
&)
|
void
|
CallbackSendSmsMessageNoFdnCheck
(
TInt
,
TInt
, const
TDesC8
&)
|
void
|
CallbackSetMoSmsBearer
(
TInt
)
|
void
|
CallbackStoreSmspListEntry
(
TInt
)
|
void
|
CallbackSync
(
CRequestQueueOneShot::TIpcDataPackage
&)
|
TInt
|
DispatchAckSmsStoredL
(const
CMmDataPackage
*)
|
TInt
|
DispatchActivateSmsRoutingL
()
|
TInt
|
DispatchGetSmsStoreInfoL
()
|
TInt
|
DispatchGetSmspListL
()
|
TInt
|
DispatchNackSmsStoredL
(const
CMmDataPackage
*)
|
TInt
|
DispatchResumeSmsReceptionL
()
|
TInt
|
DispatchSendSatSmsL
(const
CMmDataPackage
*)
|
TInt
|
DispatchSendSmsMessageL
(const
CMmDataPackage
*)
|
TInt
|
DispatchSendSmsMessageNoFdnCheckL
(const
CMmDataPackage
*)
|
TInt
|
DispatchSetMoSmsBearerL
(const
CMmDataPackage
*)
|
TInt
|
DispatchStoreSmspListEntryL
(const
CMmDataPackage
*)
|
CSmsDispatcher
*
|
NewL
(
MLtsyDispatchFactoryV1
&,
MmMessageManagerCallback
&,
CRequestQueueOneShot
&)
|
CSmsDispatcher
*
|
NewLC
(
MLtsyDispatchFactoryV1
&,
MmMessageManagerCallback
&,
CRequestQueueOneShot
&)
|
void
|
SetDispatcherHolder
(
TDispatcherHolder
&)
|
Constructor & Destructor Documentation
CSmsDispatcher(MLtsyDispatchFactoryV1 &, MmMessageManagerCallback &, CRequestQueueOneShot &)
~CSmsDispatcher()
~CSmsDispatcher
|
(
|
)
|
[virtual]
|
Member Functions Documentation
CallbackAckSmsStored(TInt)
void
|
CallbackAckSmsStored
|
(
|
TInt
|
aError
|
)
|
|
Parameters
TInt
aError
|
The error code to be returned to the CTSY Dispatcher.
|
CallbackActivateSmsRouting(CRequestQueueOneShot::TIpcDataPackage *)
Callback function to be used by the request to complete .
CallbackGetSmsStoreInfo(TInt, TInt, TInt)
void
|
CallbackGetSmsStoreInfo
|
(
|
TInt
|
aError,
|
|
TInt
|
aTotalEntries,
|
|
TInt
|
aUsedEntries
|
|
)
|
|
Parameters
TInt
aError
|
The error code to be returned to the CTSY Dispatcher.
|
TInt
aTotalEntries
|
Indicates the total number of entries that may be held in this store.
|
TInt
aUsedEntries
|
Indicates the current number of entries held in this store.
|
CallbackGetSmspList(TInt, const TDesC &, const TDesC &, const TDesC &, const DispatcherSim::TSmsParameters &, TBool)
Parameters
TInt
aError
|
KErrNone on success, or another error code indicating the error otherwise.
|
const
TDesC
& aServiceCenterAddress
|
Service center address.
|
const
TDesC
& aDestinationAddress
|
Destination address.
|
const
TDesC
& aAlphaTagData
|
Alpha tag data.
|
const
DispatcherSim::TSmsParameters
& aSmsParameters
|
Sms parametets.
|
TBool
aMoreToCome
|
Are more elements to come.
|
CallbackNackSmsStored(TInt)
void
|
CallbackNackSmsStored
|
(
|
TInt
|
aError
|
)
|
|
Parameters
TInt
aError
|
The error code to be returned to the CTSY Dispatcher.
|
CallbackNotifyReceiveSmsMessage(TInt, TBool, const TSmsMsg &)
void
|
CallbackNotifyReceiveSmsMessage
|
(
|
TInt
|
aError,
|
|
TBool
|
aInd,
|
|
const
TSmsMsg
&
|
aSmsMessage
|
|
)
|
|
Parameters
TInt
aError
|
The error code to be returned to the CTSY Dispatcher.
|
TBool
aInd
|
Set routing activity on/off.
|
const
TSmsMsg
& aSmsMessage
|
Used to buffer incoming SMSes to the TSY.
|
CallbackResumeSmsReception(TInt)
void
|
CallbackResumeSmsReception
|
(
|
TInt
|
aError
|
)
|
|
Parameters
TInt
aError
|
The error code to be returned to the CTSY Dispatcher.
|
CallbackSendSatSms(TInt)
void
|
CallbackSendSatSms
|
(
|
TInt
|
aError
|
)
|
|
Parameters
TInt
aError
|
The error code to be returned to the CTSY Dispatcher.
|
CallbackSendSmsMessage(TInt, TInt, const TDesC8 &)
void
|
CallbackSendSmsMessage
|
(
|
TInt
|
aError,
|
|
TInt
|
aMsgRef,
|
|
const
TDesC8
&
|
aSmsSubmitReport
|
|
)
|
|
Parameters
TInt
aError
|
The error code to be returned to the CTSY Dispatcher.
|
TInt
aMsgRef
|
the message reference assigned to a sent message.
|
const
TDesC8
& aSmsSubmitReport
|
message string, , which is expected to be a buffer with a maximum size of RMobileSmsMessaging::KGsmTpduSize
|
CallbackSendSmsMessageNoFdnCheck(TInt, TInt, const TDesC8 &)
void
|
CallbackSendSmsMessageNoFdnCheck
|
(
|
TInt
|
aError,
|
|
TInt
|
aMsgRef,
|
|
const
TDesC8
&
|
aSmsSubmitReport
|
|
)
|
|
Parameters
TInt
aError
|
The error code to be returned to the CTSY Dispatcher.
|
TInt
aMsgRef
|
the message reference assigned to a sent message.
|
const
TDesC8
& aSmsSubmitReport
|
message string, , which is expected to be a buffer with a maximum size of RMobileSmsMessaging::KGsmTpduSize
|
CallbackSetMoSmsBearer(TInt)
void
|
CallbackSetMoSmsBearer
|
(
|
TInt
|
aError
|
)
|
|
Parameters
TInt
aError
|
The error code to be returned to the CTSY Dispatcher.
|
CallbackStoreSmspListEntry(TInt)
void
|
CallbackStoreSmspListEntry
|
(
|
TInt
|
aError
|
)
|
|
Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackSmsStoreSmspListComp()
Parameters
TInt
aError
|
The error code to be returned to the CTSY Dispatcher.
|
CallbackSync(CRequestQueueOneShot::TIpcDataPackage &)
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
Second phase constructor.
DispatchAckSmsStoredL(const CMmDataPackage *)
Unpack data related to EMobileSmsMessagingAckSmsStored and pass request on to Licensee LTSY.
Parameters
const
CMmDataPackage
* aDataPackage
|
contains the TPDU defined for a SMS-DELIVER-REPORT
|
DispatchActivateSmsRoutingL()
TInt
|
DispatchActivateSmsRoutingL
|
(
|
)
|
|
Unpack data related to EMmTsyActivateSmsRouting This is not passed to LTSY but just completed by dispatch layer
DispatchGetSmsStoreInfoL()
TInt
|
DispatchGetSmsStoreInfoL
|
(
|
)
|
|
DispatchGetSmspListL()
TInt
|
DispatchGetSmspListL
|
(
|
)
|
|
DispatchNackSmsStoredL(const CMmDataPackage *)
Unpack data related to EMobileSmsMessagingNackSmsStored and pass request on to Licensee LTSY.
Parameters
const
CMmDataPackage
* aDataPackage
|
Contains packed pointer to TDesC8 (TPDU data) and TInt (RP cause)
|
DispatchResumeSmsReceptionL()
TInt
|
DispatchResumeSmsReceptionL
|
(
|
)
|
|
DispatchSendSatSmsL(const CMmDataPackage *)
Unpack data related to EMmTsySmsSendSatMessage and pass request on to Licensee LTSY.
DispatchSendSmsMessageL(const CMmDataPackage *)
Unpack data related to EMobileSmsMessagingSendMessage and pass request on to Licensee LTSY.
DispatchSendSmsMessageNoFdnCheckL(const CMmDataPackage *)
Unpack data related to EMobileSmsMessagingSendMessageNoFdnCheck and pass request on to Licensee LTSY.
DispatchSetMoSmsBearerL(const CMmDataPackage *)
Unpack data related to EMobileSmsMessagingSetMoSmsBearer and pass request on to Licensee LTSY.
DispatchStoreSmspListEntryL(const CMmDataPackage *)
Unpack data related to EMobileSmsMessagingStoreSmspList and pass request on to Licensee LTSY.
NewL(MLtsyDispatchFactoryV1 &, MmMessageManagerCallback &, CRequestQueueOneShot &)
NewLC(MLtsyDispatchFactoryV1 &, MmMessageManagerCallback &, CRequestQueueOneShot &)
SetDispatcherHolder(TDispatcherHolder &)
Set the dispatcher holder.
Member Data Documentation
TDispatcherHolder * iDispatcherHolder
CArrayPtrFlat< TSmsParameters > * iLtsyDataList
MLtsyDispatchSmsAckSmsStored * iLtsyDispatchSmsAckSmsStored
MLtsyDispatchSmsGetSmsStoreInfo * iLtsyDispatchSmsGetSmsStoreInfo
MLtsyDispatchSmsGetSmspList * iLtsyDispatchSmsGetSmspList
MLtsyDispatchSmsNackSmsStored * iLtsyDispatchSmsNackSmsStored
MLtsyDispatchSmsResumeSmsReception * iLtsyDispatchSmsResumeSmsReception
MLtsyDispatchSmsSendSatSms * iLtsyDispatchSmsSendSatSms
MLtsyDispatchSmsSendSmsMessage * iLtsyDispatchSmsSendSmsMessage
MLtsyDispatchSmsSendSmsMessageNoFdnCheck * iLtsyDispatchSmsSendSmsMessageNoFdnCheck
MLtsyDispatchSmsSetMoSmsBearer * iLtsyDispatchSmsSetMoSmsBearer
MLtsyDispatchSmsStoreSmspListEntry * iLtsyDispatchSmsStoreSmspListEntry
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.