Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

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

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:

Inherited from CBase:

Inherited from MHTTPDataSupplier:


Construction and destruction


~CRxData()

IMPORT_C virtual ~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(CProtTransaction &,MRxDataObserver &)

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