MSenMessageContext Class Reference

class MSenMessageContext : public MSenContext

Inherits from

Member Functions Documentation

Add(const TDesC8 &, MSenMessage *, TBool)

TInt Add(const TDesC8 &aKey,
MSenMessage *apMessage,
TBoolaOwned = ETrue
)[pure virtual]

Parameters

const TDesC8 & aKey
MSenMessage * apMessage
TBool aOwned = ETrue

Add(const TDesC8 &, CSenSoapEnvelope *)

TInt Add(const TDesC8 &aKey,
CSenSoapEnvelope *aValue
)[pure virtual]

Parameters

const TDesC8 & aKey
CSenSoapEnvelope * aValue

ChunkL()

CSenChunk *ChunkL()[pure virtual]

Getter for chunk which representates of the main message, held by this message context.

GetCurrentSoapMessage()

CSenSoapMessage *GetCurrentSoapMessage()[pure virtual]

GetMessageL(const TDesC8 &)

MSenMessage *GetMessageL(const TDesC8 &aKey)[pure virtual]

Parameters

const TDesC8 & aKey

GetMessageL()

TPtrC8 GetMessageL()[pure virtual]

GetSenSoapEnvelopeL(const TDesC8 &)

const CSenSoapEnvelope *GetSenSoapEnvelopeL(const TDesC8 &aKey)[pure virtual]

Parameters

const TDesC8 & aKey

MessageL()

MSenMessage *MessageL()[pure virtual]

Getter for the current message held by this message context.

Properties()

MSenProperties *Properties()[pure virtual]

SetChunk(CSenChunk *, TBool)

TInt SetChunk(CSenChunk *apMsgAsChunk,
TBoolaOwned = ETrue
)[pure virtual]

Sets the current message (as chunk) for this context, potentially freeing currently owned message (de-alloc) if such exists.

Parameters

CSenChunk * apMsgAsChunkprovides pointer to chunk. Note that by default the ownership *is* passed to this context.
TBool aOwned = ETrue

SetMessage(MSenMessage *, TBool)

TInt SetMessage(MSenMessage *apMessage,
TBoolaOwned = ETrue
)[pure virtual]

Sets the current message for this context, potentially freeing currently owned message (de-alloc) if such exists.

Parameters

MSenMessage * apMessageprovides pointer to new message. Note that by default the ownership *is* passed to this context.
TBool aOwned = ETrue

SetProperties(MSenProperties *, TBool)

TInt SetProperties(MSenProperties *apProperties,
TBoolaOwned = ETrue
)[pure virtual]

Parameters

MSenProperties * apProperties
TBool aOwned = ETrue

Update(const TDesC8 &, MSenMessage *, TBool)

TInt Update(const TDesC8 &aKey,
MSenMessage *apMessage,
TBoolaOwned = ETrue
)[pure virtual]

Parameters

const TDesC8 & aKey
MSenMessage * apMessage
TBool aOwned = ETrue

Update(const TDesC8 &, CSenSoapEnvelope *)

TInt Update(const TDesC8 &aKey,
CSenSoapEnvelope *aValue
)[pure virtual]

Parameters

const TDesC8 & aKey
CSenSoapEnvelope * aValue