CCellBroadcastDispatcher Class Reference

class CCellBroadcastDispatcher : public CBase

This class is responsible for packing and unpacking data belonging to CellBroadcast related requests to the Licensee LTSY.

Inherits from

  • CCellBroadcastDispatcher
Public Member Functions
~CCellBroadcastDispatcher()
voidCallbackActivateBroadcastReceiveMessage(TInt)
voidCallbackDeleteSimCbTopic(TInt)
voidCallbackGsmBroadcastNotifyMessageReceived(TInt, const TDesC8 &)
voidCallbackReceiveMessageCancel(TInt)
voidCallbackSetBroadcastFilterSetting(TInt)
voidCallbackStartSimCbTopicBrowsing(TInt, const CArrayFixFlat< RMmCustomAPI::TSimCbTopic > &)
voidCallbackSync(CRequestQueueOneShot::TIpcDataPackage &)
voidCallbackWcdmaBroadcastMessageReceived(TInt, const TDesC8 &, const DispatcherCellBroadcast::TWcdmaCbsMsgBase &, TBool)
TInt DispatchActivateBroadcastReceiveMessageL(const CMmDataPackage *)
TInt DispatchDeleteSimCbTopicL(const CMmDataPackage *)
TInt DispatchReceiveMessageCancelL(const CMmDataPackage *)
TInt DispatchSetBroadcastFilterSettingL(const CMmDataPackage *)
TInt DispatchStartSimCbTopicBrowsingL()
CCellBroadcastDispatcher *NewL(MLtsyDispatchFactoryV1 &, MmMessageManagerCallback &, CRequestQueueOneShot &)
CCellBroadcastDispatcher *NewLC(MLtsyDispatchFactoryV1 &, MmMessageManagerCallback &, CRequestQueueOneShot &)
voidSetDispatcherHolder(TDispatcherHolder &)
Private Member Functions
CCellBroadcastDispatcher(MLtsyDispatchFactoryV1 &, MmMessageManagerCallback &, CRequestQueueOneShot &)
voidConstructL()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Attributes
CArrayPtrFlat< TWcdmaCbsMsg > *iCbsMsg
TDispatcherHolder *iDispatcherHolder
MLtsyDispatchCellBroadcastActivateBroadcastReceiveMessage *iLtsyDispatchCellBroadcastActivateBroadcastReceiveMessage
MLtsyDispatchCellBroadcastDeleteSimCbTopic *iLtsyDispatchCellBroadcastDeleteSimCbTopic
MLtsyDispatchCellBroadcastReceiveMessageCancel *iLtsyDispatchCellBroadcastReceiveMessageCancel
MLtsyDispatchCellBroadcastSetBroadcastFilterSetting *iLtsyDispatchCellBroadcastSetBroadcastFilterSetting
MLtsyDispatchCellBroadcastStartSimCbTopicBrowsing *iLtsyDispatchCellBroadcastStartSimCbTopicBrowsing
MLtsyDispatchFactoryV1 &iLtsyFactoryV1
MmMessageManagerCallback &iMessageManagerCallback
CRequestQueueOneShot &iRequestAsyncOneShot

Constructor & Destructor Documentation

CCellBroadcastDispatcher(MLtsyDispatchFactoryV1 &, MmMessageManagerCallback &, CRequestQueueOneShot &)

CCellBroadcastDispatcher(MLtsyDispatchFactoryV1 &aLtsyFactory,
MmMessageManagerCallback &aMessageManagerCallback,
CRequestQueueOneShot &aRequestAsyncOneShot
)[private]

Parameters

MLtsyDispatchFactoryV1 & aLtsyFactory
MmMessageManagerCallback & aMessageManagerCallback
CRequestQueueOneShot & aRequestAsyncOneShot

~CCellBroadcastDispatcher()

~CCellBroadcastDispatcher()[virtual]

Member Functions Documentation

CallbackActivateBroadcastReceiveMessage(TInt)

voidCallbackActivateBroadcastReceiveMessage(TIntaError)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCellBroadcastActivateBroadcastReceiveMessageComp()

Parameters

TInt aErrorThe error code to be returned to the CTSY Dispatcher.

CallbackDeleteSimCbTopic(TInt)

voidCallbackDeleteSimCbTopic(TIntaError)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCellBroadcastDeleteSimCbTopicComp()

Parameters

TInt aErrorThe error code to be returned to the CTSY Dispatcher.

CallbackGsmBroadcastNotifyMessageReceived(TInt, const TDesC8 &)

voidCallbackGsmBroadcastNotifyMessageReceived(TIntaError,
const TDesC8 &aCbsMsg
)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCellBroadcastGsmBroadcastNotifyMessageReceivedInd()

Parameters

TInt aErrorThe error code to be returned to the CTSY Dispatcher.
const TDesC8 & aCbsMsgCB message.

CallbackReceiveMessageCancel(TInt)

voidCallbackReceiveMessageCancel(TIntaError)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCellBroadcastReceiveMessageCancelComp()

Parameters

TInt aErrorThe error code to be returned to the CTSY Dispatcher.

CallbackSetBroadcastFilterSetting(TInt)

voidCallbackSetBroadcastFilterSetting(TIntaError)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCellBroadcastSetBroadcastFilterSettingComp()

Parameters

TInt aErrorThe error code to be returned to the CTSY Dispatcher.

CallbackStartSimCbTopicBrowsing(TInt, const CArrayFixFlat< RMmCustomAPI::TSimCbTopic > &)

voidCallbackStartSimCbTopicBrowsing(TIntaError,
const CArrayFixFlat< RMmCustomAPI::TSimCbTopic > &aSimTopicArray
)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCellBroadcastStartSimCbTopicBrowsingComp()

Parameters

TInt aErrorThe error code to be returned to the CTSY Dispatcher.
const CArrayFixFlat< RMmCustomAPI::TSimCbTopic > & aSimTopicArrayarray of TSimCbTopic.

CallbackSync(CRequestQueueOneShot::TIpcDataPackage &)

voidCallbackSync(CRequestQueueOneShot::TIpcDataPackage &aIpcDataPackage)

Part of the MDispatcherCallback interface. Used to complete requests handled synchronously by the Licensee LTSY asynchronously back to the Common TSY.

MDispatcherCallback::CallbackSync

Parameters

CRequestQueueOneShot::TIpcDataPackage & aIpcDataPackagePackage encapsulating the request.

CallbackWcdmaBroadcastMessageReceived(TInt, const TDesC8 &, const DispatcherCellBroadcast::TWcdmaCbsMsgBase &, TBool)

voidCallbackWcdmaBroadcastMessageReceived(TIntaError,
const TDesC8 &aWcdmaCbsData,
const DispatcherCellBroadcast::TWcdmaCbsMsgBase &aWcdmaCbsMsgBase,
TBoolaMoreToCome
)

Callback function to be used by the request to complete CCtsyDispatcherCallback::CallbackCellBroadcastWcdmaBroadcastMessageReceivedInd()

Parameters

TInt aErrorThe error code to be returned to the CTSY Dispatcher.
const TDesC8 & aWcdmaCbsDataBroadcast message WCDMA.
const DispatcherCellBroadcast::TWcdmaCbsMsgBase & aWcdmaCbsMsgBasebase wcdma cbs data structure.
TBool aMoreToCome

ConstructL()

voidConstructL()[private]

Second phase constructor.

DispatchActivateBroadcastReceiveMessageL(const CMmDataPackage *)

TInt DispatchActivateBroadcastReceiveMessageL(const CMmDataPackage *aDataPackage)

Unpack data related to EMobileBroadcastMessagingReceiveMessage and pass request on to Licensee LTSY.

Parameters

const CMmDataPackage * aDataPackage

DispatchDeleteSimCbTopicL(const CMmDataPackage *)

TInt DispatchDeleteSimCbTopicL(const CMmDataPackage *aDataPackage)

Pass ECustomDeleteSimCbTopicIPC request on to Licensee LTSY.

Parameters

const CMmDataPackage * aDataPackage

DispatchReceiveMessageCancelL(const CMmDataPackage *)

TInt DispatchReceiveMessageCancelL(const CMmDataPackage *aDataPackage)

Unpack data related to EMobileBroadcastMessagingReceiveMessageCancel and pass request on to Licensee LTSY.

Parameters

const CMmDataPackage * aDataPackage

DispatchSetBroadcastFilterSettingL(const CMmDataPackage *)

TInt DispatchSetBroadcastFilterSettingL(const CMmDataPackage *aDataPackage)

Unpack data related to EMobileBroadcastMessagingSetFilterSetting and pass request on to Licensee LTSY.

Parameters

const CMmDataPackage * aDataPackage

DispatchStartSimCbTopicBrowsingL()

TInt DispatchStartSimCbTopicBrowsingL()

Pass ECustomStartSimCbTopicBrowsingIPC request on to Licensee LTSY.

NewL(MLtsyDispatchFactoryV1 &, MmMessageManagerCallback &, CRequestQueueOneShot &)

CCellBroadcastDispatcher *NewL(MLtsyDispatchFactoryV1 &aLtsyFactory,
MmMessageManagerCallback &aMessageManagerCallback,
CRequestQueueOneShot &aRequestAsyncOneShot
)[static]

Parameters

MLtsyDispatchFactoryV1 & aLtsyFactory
MmMessageManagerCallback & aMessageManagerCallback
CRequestQueueOneShot & aRequestAsyncOneShot

NewLC(MLtsyDispatchFactoryV1 &, MmMessageManagerCallback &, CRequestQueueOneShot &)

CCellBroadcastDispatcher *NewLC(MLtsyDispatchFactoryV1 &aLtsyFactory,
MmMessageManagerCallback &aMessageManagerCallback,
CRequestQueueOneShot &aRequestAsyncOneShot
)[static]

Parameters

MLtsyDispatchFactoryV1 & aLtsyFactory
MmMessageManagerCallback & aMessageManagerCallback
CRequestQueueOneShot & aRequestAsyncOneShot

SetDispatcherHolder(TDispatcherHolder &)

voidSetDispatcherHolder(TDispatcherHolder &aDispatcherHolder)

Set the dispatcher holder.

Parameters

TDispatcherHolder & aDispatcherHolderReference to dispatcher holder.

Member Data Documentation

CArrayPtrFlat< TWcdmaCbsMsg > * iCbsMsg

CArrayPtrFlat< TWcdmaCbsMsg > *iCbsMsg[private]

TDispatcherHolder * iDispatcherHolder

TDispatcherHolder *iDispatcherHolder[private]

MLtsyDispatchCellBroadcastActivateBroadcastReceiveMessage * iLtsyDispatchCellBroadcastActivateBroadcastReceiveMessage

MLtsyDispatchCellBroadcastActivateBroadcastReceiveMessage *iLtsyDispatchCellBroadcastActivateBroadcastReceiveMessage[private]

MLtsyDispatchCellBroadcastDeleteSimCbTopic * iLtsyDispatchCellBroadcastDeleteSimCbTopic

MLtsyDispatchCellBroadcastDeleteSimCbTopic *iLtsyDispatchCellBroadcastDeleteSimCbTopic[private]

MLtsyDispatchCellBroadcastReceiveMessageCancel * iLtsyDispatchCellBroadcastReceiveMessageCancel

MLtsyDispatchCellBroadcastReceiveMessageCancel *iLtsyDispatchCellBroadcastReceiveMessageCancel[private]

MLtsyDispatchCellBroadcastSetBroadcastFilterSetting * iLtsyDispatchCellBroadcastSetBroadcastFilterSetting

MLtsyDispatchCellBroadcastSetBroadcastFilterSetting *iLtsyDispatchCellBroadcastSetBroadcastFilterSetting[private]

MLtsyDispatchCellBroadcastStartSimCbTopicBrowsing * iLtsyDispatchCellBroadcastStartSimCbTopicBrowsing

MLtsyDispatchCellBroadcastStartSimCbTopicBrowsing *iLtsyDispatchCellBroadcastStartSimCbTopicBrowsing[private]

MLtsyDispatchFactoryV1 & iLtsyFactoryV1

MLtsyDispatchFactoryV1 &iLtsyFactoryV1[private]

MmMessageManagerCallback & iMessageManagerCallback

MmMessageManagerCallback &iMessageManagerCallback[private]

CRequestQueueOneShot & iRequestAsyncOneShot

CRequestQueueOneShot &iRequestAsyncOneShot[private]