CMceCsReceiverBase Class Reference

class CMceCsReceiverBase : public CBase

Abstract base class for MCE receivers.

Since

Inherits from

Constructor & Destructor Documentation

CMceCsReceiverBase(CMceCsServerITC &)

CMceCsReceiverBase(CMceCsServerITC &aItc)[protected]

Parameters

CMceCsServerITC & aItc

~CMceCsReceiverBase()

~CMceCsReceiverBase()

Destructor

Member Functions Documentation

CancelClientReceiveL()

voidCancelClientReceiveL()

Removes stored message and completes that with KErrCancel.

ClientReadyToReceiveL(const RMessage2 &)

voidClientReadyToReceiveL(const RMessage2 &aMessage)

Stores message from client for asyncronous event.

Parameters

const RMessage2 & aMessagemessage to be stored

ConstructL()

voidConstructL()[protected]

HandleNewReceiveItemL(TMceCSReceiveItem &)

voidHandleNewReceiveItemL(TMceCSReceiveItem &aItem)[protected]

Parameters

TMceCSReceiveItem & aItem

ITC()

CMceCsServerITC &ITC()

Gets reference to server ITC helper

Ids()

TMceIds Ids()const

Gets ITC ids of current message.

ReceiveL(const RMessage2 &)

voidReceiveL(const RMessage2 &aMessage)

Retrieves stored event.

Parameters

const RMessage2 & aMessagemessage to receive data

SendToClientL(TMceIds &, TInt)

voidSendToClientL(TMceIds &aId,
TIntaError =  KErrNone
)

Sends data to client

Parameters

TMceIds & aIdids to send
TInt aError =  KErrNone

SendToClientL(TMceIds &, HBufC8 *)

voidSendToClientL(TMceIds &aId,
HBufC8 *aContext
)

Sends data to client

Parameters

TMceIds & aIdids to send
HBufC8 * aContextcontext to send

SendToClientL(TMceIds &, HBufC8 *, HBufC8 *)

voidSendToClientL(TMceIds &aId,
HBufC8 *aContext,
HBufC8 *aContent
)

Sends data to client

Parameters

TMceIds & aIdids to send
HBufC8 * aContextcontext to send
HBufC8 * aContentcontent to send

WriteMessageToClientL(const RMessage2 &)

voidWriteMessageToClientL(const RMessage2 &aMessage)[private]

Adds item to the end of the queue

Parameters

const RMessage2 & aMessage

Member Data Documentation

TBool iClientReadyToReceive

TBool iClientReadyToReceive[private]

CMceCsServerITC & iITC

CMceCsServerITC &iITC[private]

TMceIds iIds

TMceIds iIds[private]

CMceCsReceiveQueue * iReceiveQueue

CMceCsReceiveQueue *iReceiveQueue[private]

RMessage2 iReceiveRMessage

RMessage2 iReceiveRMessage[private]