CTxData Class Reference

#include <mw/http/framework/ctxdata.h>

class CTxData : public CBase, public MHTTPDataSupplier

Inherits from

Detailed Description

An abstract base class for the encoding of request data to be transmitted by a protocol handler.

Member Attribute Documentation

iProtTrans

CProtTransaction *iProtTrans[protected]

The HTTP transaction from whose request this OTA transmission data is built. Note that the transaction is not owned by this object.

Constructor & Destructor Documentation

CTxData ( )

IMPORT_CCTxData()[protected]

Intended Usage: Default constructor - creates a Tx data object not associated with any protocol transaction.

CTxData ( CProtTransaction & )

IMPORT_CCTxData(CProtTransaction &aProtTransaction)[protected]

Intended Usage: Normal constructor, of a CTxData that corresponds to the supplied protocol transaction.

Parameters
aProtTransaction(in) The transaction for which this object represents the transmitted data.

~CTxData ( )

IMPORT_C~CTxData()[virtual]

Intended Usage: Destructor - cleans up and releases resources to the system

Member Function Documentation

ConstructL ( )

IMPORT_C voidConstructL()[protected]

Intended Usage: Second phase construction, default

ProtTrans ( )

IMPORT_C CProtTransaction &ProtTrans()

Intended Usage: Obtain the protocol transaction whose request part is represented as encoded data by this object.

Return Value
The protocol transaction object