CMceMsgBase Class Reference

class CMceMsgBase : public CBase

Base class of messages passed between client and server

Inherits from

Constructor & Destructor Documentation

CMceMsgBase(TMceItcDataType)

CMceMsgBase ( TMceItcDataType aType )

C++ constructor

Parameters

TMceItcDataType aType the type of message

~CMceMsgBase()

~CMceMsgBase ( )

C++ destructor

Member Functions Documentation

Close()

void Close ( ) [pure virtual]

Destroys all (encoded) data

DecodeL(const TDesC8 &)

void DecodeL ( const TDesC8 & aContext )

Decodes message from descriptor

Parameters

const TDesC8 & aContext encoded string representing this message

DoDecodeL(RReadStream &)

void DoDecodeL ( RReadStream & aReadStream ) [pure virtual]

Decodes message from stream

Parameters

RReadStream & aReadStream the stream

DoDecodeL(MMceComSerializationContext &)

void DoDecodeL ( MMceComSerializationContext & aSerCtx ) [virtual]

Decodes message from stream

Parameters

MMceComSerializationContext & aSerCtx containing stream as encoded string representing this message as stream

DoOwnershipRollback()

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

void EncodeL ( ) [pure virtual]

Encodes message

OwnershipRollback(TAny *)

void OwnershipRollback ( TAny * aData ) [protected, static]

Parameters

TAny * aData

OwnershipRollbackPushLC()

void OwnershipRollbackPushLC ( )

Handles ownership rollback of leave situations.

Pop()

void Pop ( ) [virtual]

Pops all (encoded) data from cleanup stack

PushL()

void PushL ( ) [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]