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 void ExpireMessageL ( TCDSYMessage & aCDSYMessage )

Expires the message.

Parameters

TCDSYMessage & aCDSYMessage

GetNewTransactionID()

IMPORT_C TUint8 GetNewTransactionID ( )

Returns new transaction ID.

NewL()

CCDSYController * NewL ( ) [static]

Creates a new instance of CDSYController.

ProcessMessageL(TCDSYMessage &)

IMPORT_C void ProcessMessageL ( 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 void RegisterServiceLogicL ( const TUint32 aMessageGroup,
const TUint32 aMessageID,
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 void RegisterServiceLogicL ( const TUint32 aMessageGroup,
const TUint32 aMessageID,
const TUint32 aTransactionID,
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 void UnregisterServiceLogic ( const TUint32 aMessageGroup,
const TUint32 aMessageID,
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 void UnregisterServiceLogic ( const TUint32 aMessageGroup,
const TUint32 aMessageID,
const TUint32 aTransactionID,
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]