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_C TMceTransactionDataContainer ( )

Default constructor

Member Functions Documentation

Clear()

void Clear ( )

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 TInt GetStatusCode ( )

Gets status code

SetContent(HBufC8 *)

void SetContent ( HBufC8 * aContent )

Parameters

HBufC8 * aContent

SetContentHeaders(CDesC8Array *)

void SetContentHeaders ( CDesC8Array * aHeaders )

Parameters

CDesC8Array * aHeaders

SetContentType(HBufC8 *)

void SetContentType ( HBufC8 * aContentType )

Parameters

HBufC8 * aContentType

SetHeaders(CDesC8Array *)

void SetHeaders ( CDesC8Array * aHeaders )

Parameters

CDesC8Array * aHeaders

SetReasonPhrase(HBufC8 *)

void SetReasonPhrase ( HBufC8 * aReasonPhrase )

Parameters

HBufC8 * aReasonPhrase

SetStatusCode(TInt)

void SetStatusCode ( TInt aStatusCode )

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]