CMceMsgBase Class Reference

class CMceMsgBase : public CBase

Base class of messages passed between client and server

Inherits from

Constructor & Destructor Documentation

CMceMsgBase(TMceItcDataType)

CMceMsgBase(TMceItcDataTypeaType)

C++ constructor

Parameters

TMceItcDataType aTypethe type of message

~CMceMsgBase()

~CMceMsgBase()

C++ destructor

Member Functions Documentation

Close()

voidClose()[pure virtual]

Destroys all (encoded) data

DecodeL(const TDesC8 &)

voidDecodeL(const TDesC8 &aContext)

Decodes message from descriptor

Parameters

const TDesC8 & aContextencoded string representing this message

DoDecodeL(RReadStream &)

voidDoDecodeL(RReadStream &aReadStream)[pure virtual]

Decodes message from stream

Parameters

RReadStream & aReadStreamthe stream

DoDecodeL(MMceComSerializationContext &)

voidDoDecodeL(MMceComSerializationContext &aSerCtx)[virtual]

Decodes message from stream

Parameters

MMceComSerializationContext & aSerCtxcontaining stream as encoded string representing this message as stream

DoOwnershipRollback()

voidDoOwnershipRollback()[protected, virtual]

Releases ownership of certain owned member data.

EncodeBuffer()

CBufFlat &EncodeBuffer()

Returns buffer to which messge has been encoded

EncodeBufferCloneL()

HBufC8 *EncodeBufferCloneL()

Clones encode buffer

EncodeL()

voidEncodeL()[pure virtual]

Encodes message

OwnershipRollback(TAny *)

voidOwnershipRollback(TAny *aData)[protected, static]

TCleanupItem funtion.

Parameters

TAny * aData

OwnershipRollbackPushLC()

voidOwnershipRollbackPushLC()

Handles ownership rollback of leave situations.

Pop()

voidPop()[virtual]

Pops all (encoded) data from cleanup stack

PushL()

voidPushL()[virtual]

Pushes all (encoded) data to cleanup stack

Type()

TMceItcDataType Type()

Returns type of message ype of message

Member Data Documentation

CBufFlat * iEncodeBuf

CBufFlat *iEncodeBuf[protected]

TBool iPushed

TBool iPushed[protected]

TMceItcDataType iType

TMceItcDataType iType[protected]