Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: crxdata.h
Link against: http.lib

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

Class CRxData

class CRxData : public CBase, public MHTTPDataSupplier;

Description

An abstract base class for the decoding of response data received by a protocol handler.

Derivation

Members

Defined in CRxData:
CRxData(), CRxData(), ConstructL(), ProtTrans(), Reserved1(), Reserved2(), ResetRxData(), iObserver, iProtTrans, ~CRxData()

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

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


Construction and destruction


~CRxData()

virtual IMPORT_C ~CRxData();

Description

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


CRxData()

protected: IMPORT_C CRxData();

Description

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


CRxData()

protected: IMPORT_C CRxData(CProtTransaction &aProtTrans, MRxDataObserver &aObserver);

Description

Intended Usage: Normal constructor, of a CRxData that corresponds to the supplied protocol transaction, and which sends status updates to the supplied observer interface,

Parameters

CProtTransaction &aProtTrans

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

MRxDataObserver &aObserver

(in) The object's observer.


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


ResetRxData()

virtual void ResetRxData()=0;

Description

Intended Usage: Resets the received data object to its initial state following construction. This method must be implemented for specific sub- classes of received data.

Post-Condition

The object is reset.


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 protocol transaction for which this object represents the encoded received data


iObserver

protected: MRxDataObserver * iObserver;

Description

This object's observer, to whom we forward status information