Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: ctxdata.h
Link against: http.lib

This item is not part of the S60 3rd Edition SDK for Symbian OS, Feature Pack 2.

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:
CTxData(), CTxData(), ConstructL(), ProtTrans(), Reserved1(), Reserved2(), iProtTrans, ~CTxData()

Inherited from CBase:
Delete(), Extension_(), operator new()

Inherited from MHTTPDataSupplier:
GetNextDataPart(), MHDS_Reserved1(), MHDS_Reserved2(), MHDS_Reserved3(), OverallDataSize(), ReleaseData(), Reset()


Construction and destruction


~CTxData()

virtual IMPORT_C ~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()

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.