TMceTransactionDataContainer Class Reference

class TMceTransactionDataContainer

Container class to hold detailed data of a transaction.

It is assumed, that user has only one instance of this class. The same instance is passed between MCE and user, but the data inside of this container is just updated for each event.

The data inside the container is valid only during the execution of the callback function. After this the remaining data in container is deleted.

mceclient.lib

Constructor & Destructor Documentation

TMceTransactionDataContainer()

IMPORT_CTMceTransactionDataContainer()

Default constructor

Member Functions Documentation

Clear()

voidClear()

GetContent()

IMPORT_C HBufC8 *GetContent()

Gets content.

GetContentHeaders()

IMPORT_C CDesC8Array *GetContentHeaders()

Gets content headers.

GetContentType()

IMPORT_C HBufC8 *GetContentType()

Gets content type.

GetHeaders()

IMPORT_C CDesC8Array *GetHeaders()

Gets headers.

GetReasonPhrase()

IMPORT_C HBufC8 *GetReasonPhrase()

Gets reason phrase.

GetStatusCode()

IMPORT_C TIntGetStatusCode()

Gets status code

SetContent(HBufC8 *)

voidSetContent(HBufC8 *aContent)

Parameters

HBufC8 * aContent

SetContentHeaders(CDesC8Array *)

voidSetContentHeaders(CDesC8Array *aHeaders)

Parameters

CDesC8Array * aHeaders

SetContentType(HBufC8 *)

voidSetContentType(HBufC8 *aContentType)

Parameters

HBufC8 * aContentType

SetHeaders(CDesC8Array *)

voidSetHeaders(CDesC8Array *aHeaders)

Parameters

CDesC8Array * aHeaders

SetReasonPhrase(HBufC8 *)

voidSetReasonPhrase(HBufC8 *aReasonPhrase)

Parameters

HBufC8 * aReasonPhrase

SetStatusCode(TInt)

voidSetStatusCode(TIntaStatusCode)

Parameters

TInt aStatusCode

Member Data Documentation

HBufC8 * iContent

HBufC8 *iContent[private]

CDesC8Array * iContentHeaders

CDesC8Array *iContentHeaders[private]

HBufC8 * iContentType

HBufC8 *iContentType[private]

CDesC8Array * iHeaders

CDesC8Array *iHeaders[private]

HBufC8 * iReasonPhrase

HBufC8 *iReasonPhrase[private]

TAny * iReserved

TAny *iReserved[private]

TUint32 iStatusCode

TUint32 iStatusCode[private]