CCDSYController Class Reference

class CCDSYController : public CBase

CCDSYController This class implements the CCDSYController, which routes the messages.

Inherits from

Constructor & Destructor Documentation

CCDSYController()

CCDSYController()[private]

Constructor.

~CCDSYController()

~CCDSYController()

Destructor.

Member Functions Documentation

ExpireMessageL(TCDSYMessage &)

IMPORT_C voidExpireMessageL(TCDSYMessage &aCDSYMessage)

Expires the message.

Parameters

TCDSYMessage & aCDSYMessage

GetNewTransactionID()

IMPORT_C TUint8GetNewTransactionID()

Returns new transaction ID.

NewL()

CCDSYController *NewL()[static]

Creates a new instance of CDSYController.

ProcessMessageL(TCDSYMessage &)

IMPORT_C voidProcessMessageL(TCDSYMessage &aCDSYMessage)

Processes the incoming TCDSYMessage. The function routes the message to the service logics registered to the message.

Parameters

TCDSYMessage & aCDSYMessage

RegisterServiceLogicL(const TUint32, const TUint32, MCDSYServiceLogic *)

IMPORT_C voidRegisterServiceLogicL(const TUint32aMessageGroup,
const TUint32aMessageID,
MCDSYServiceLogic *aCDSYServiceLogic
)

Registers a service logic for a specific message.

Parameters

const TUint32 aMessageGroup
const TUint32 aMessageID
MCDSYServiceLogic * aCDSYServiceLogic

RegisterServiceLogicL(const TUint32, const TUint32, const TUint32, MCDSYServiceLogic *)

IMPORT_C voidRegisterServiceLogicL(const TUint32aMessageGroup,
const TUint32aMessageID,
const TUint32aTransactionID,
MCDSYServiceLogic *aCDSYServiceLogic
)

Registers a service logic for a specific message.

Parameters

const TUint32 aMessageGroup
const TUint32 aMessageID
const TUint32 aTransactionID
MCDSYServiceLogic * aCDSYServiceLogic

UnregisterServiceLogic(const TUint32, const TUint32, const MCDSYServiceLogic *)

IMPORT_C voidUnregisterServiceLogic(const TUint32aMessageGroup,
const TUint32aMessageID,
const MCDSYServiceLogic *aCDSYServiceLogic
)

Unregisters service logic for a specific message.

Parameters

const TUint32 aMessageGroup
const TUint32 aMessageID
const MCDSYServiceLogic * aCDSYServiceLogic

UnregisterServiceLogic(const TUint32, const TUint32, const TUint32, const MCDSYServiceLogic *)

IMPORT_C voidUnregisterServiceLogic(const TUint32aMessageGroup,
const TUint32aMessageID,
const TUint32aTransactionID,
const MCDSYServiceLogic *aCDSYServiceLogic
)

Unregisters service logic for a specific message.

Parameters

const TUint32 aMessageGroup
const TUint32 aMessageID
const TUint32 aTransactionID
const MCDSYServiceLogic * aCDSYServiceLogic

Member Data Documentation

TUint8 iCurrentTransactionID

TUint8 iCurrentTransactionID[private]

RPointerArray< CCDSYMessagesServiceLogic > iServiceLogics

RPointerArray< CCDSYMessagesServiceLogic >iServiceLogics[private]