Location:
crxdata.h
Link against: http.lib
class CRxData : public CBase, public MHTTPDataSupplier;
An abstract base class for the decoding of response data received by a protocol handler.
MHTTPDataSupplier
- A data supplier - This class is used to deliver the response data to the client, and is also used by the client to supply
request body data to HTTP in POST transactions
CBase
- Base class for all classes to be instantiated on the heap
CRxData
- An abstract base class for the decoding of response data received by a protocol handler
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()
virtual IMPORT_C ~CRxData();
Intended Usage: Destructor - cleans up and releases resources to the system
protected: IMPORT_C CRxData();
Intended Usage: Default constructor - creates an Rx data object not associated with any protocol transaction.
protected: IMPORT_C CRxData(CProtTransaction &aProtTrans, MRxDataObserver &aObserver);
Intended Usage: Normal constructor, of a CRxData that corresponds to the supplied protocol transaction, and which sends status updates to the supplied observer interface,
|
protected: IMPORT_C void ConstructL();
Intended Usage: Second phase construction, default
IMPORT_C CProtTransaction &ProtTrans();
Intended Usage: Obtain the protocol transaction whose request part is represented as encoded data by this object.
|
virtual void ResetRxData()=0;
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.
The object is reset.
private: inline virtual void Reserved1();
Intended Usage: Reserve a slot in the v-table to preserve future BC
private: inline virtual void Reserved2();
Intended Usage: Reserve a slot in the v-table to preserve future BC
protected: CProtTransaction * iProtTrans;
The protocol transaction for which this object represents the encoded received data
protected: MRxDataObserver * iObserver;
This object's observer, to whom we forward status information