Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <ctxdata.h>
Link against: http.lib
This item is not part of the S60 5th Edition SDK

Class CTxData

class CTxData : public CBase, public MHTTPDataSupplier;

Description

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

Derivation

Members

Defined in CTxData:

Inherited from CBase:

Inherited from MHTTPDataSupplier:


Construction and destruction


~CTxData()

IMPORT_C virtual ~CTxData();

Description

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


CTxData()

protected: IMPORT_C CTxData();

Description

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


CTxData(CProtTransaction &)

protected: IMPORT_C CTxData(CProtTransaction &aProtTransaction);

Description

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

Parameters

CProtTransaction &aProtTransaction

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


ConstructL()

protected: IMPORT_C void ConstructL();

Description

Intended Usage: Second phase construction, default

[Top]


Member functions


ProtTrans()

IMPORT_C CProtTransaction& ProtTrans();

Description

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

Return value

CProtTransaction &

The protocol transaction object


Reserved1()

private: inline virtual void Reserved1();

Description

Intended Usage: Reserve a slot in the v-table to preserve future BC


Reserved2()

private: inline virtual void Reserved2();

Description

Intended Usage: Reserve a slot in the v-table to preserve future BC

[Top]


Member data


iProtTrans

protected: CProtTransaction * iProtTrans;

Description

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