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

Public Member Functions
~CCellBroadcastDispatcher ()
void CallbackActivateBroadcastReceiveMessage ( TInt )
void CallbackDeleteSimCbTopic ( TInt )
void CallbackGsmBroadcastNotifyMessageReceived ( TInt , const TDesC8 &)
void CallbackReceiveMessageCancel ( TInt )
void CallbackSetBroadcastFilterSetting ( TInt )
void CallbackStartSimCbTopicBrowsing ( TInt , const CArrayFixFlat < RMmCustomAPI::TSimCbTopic > &)
void CallbackSync ( CRequestQueueOneShot::TIpcDataPackage &)
void CallbackWcdmaBroadcastMessageReceived ( 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 &)
void SetDispatcherHolder ( TDispatcherHolder &)
Private Member Functions
CCellBroadcastDispatcher ( MLtsyDispatchFactoryV1 &, MmMessageManagerCallback &, CRequestQueueOneShot &)
void ConstructL ()
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)

void CallbackActivateBroadcastReceiveMessage ( TInt aError )

Parameters

TInt aError The error code to be returned to the CTSY Dispatcher.

CallbackDeleteSimCbTopic(TInt)

void CallbackDeleteSimCbTopic ( TInt aError )

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

Parameters

TInt aError The error code to be returned to the CTSY Dispatcher.

CallbackGsmBroadcastNotifyMessageReceived(TInt, const TDesC8 &)

void CallbackGsmBroadcastNotifyMessageReceived ( TInt aError,
const TDesC8 & aCbsMsg
)

Parameters

TInt aError The error code to be returned to the CTSY Dispatcher.
const TDesC8 & aCbsMsg CB message.

CallbackReceiveMessageCancel(TInt)

void CallbackReceiveMessageCancel ( TInt aError )

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

Parameters

TInt aError The error code to be returned to the CTSY Dispatcher.

CallbackSetBroadcastFilterSetting(TInt)

void CallbackSetBroadcastFilterSetting ( TInt aError )

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

Parameters

TInt aError The error code to be returned to the CTSY Dispatcher.

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

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

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

Parameters

TInt aError The error code to be returned to the CTSY Dispatcher.
const CArrayFixFlat < RMmCustomAPI::TSimCbTopic > & aSimTopicArray array of TSimCbTopic.

CallbackSync(CRequestQueueOneShot::TIpcDataPackage &)

void CallbackSync ( 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 & aIpcDataPackage Package encapsulating the request.

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

void CallbackWcdmaBroadcastMessageReceived ( TInt aError,
const TDesC8 & aWcdmaCbsData,
const DispatcherCellBroadcast::TWcdmaCbsMsgBase & aWcdmaCbsMsgBase,
TBool aMoreToCome
)

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

Parameters

TInt aError The error code to be returned to the CTSY Dispatcher.
const TDesC8 & aWcdmaCbsData Broadcast message WCDMA.
const DispatcherCellBroadcast::TWcdmaCbsMsgBase & aWcdmaCbsMsgBase base wcdma cbs data structure.
TBool aMoreToCome

ConstructL()

void ConstructL ( ) [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 &)

void SetDispatcherHolder ( TDispatcherHolder & aDispatcherHolder )

Set the dispatcher holder.

Parameters

TDispatcherHolder & aDispatcherHolder Reference 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]