CRxData Class Reference

class CRxData : public CBase

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

Inherits from

Constructor & Destructor Documentation

CRxData()

IMPORT_C CRxData ( ) [protected]

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

CRxData(CProtTransaction &, MRxDataObserver &)

IMPORT_C CRxData ( CProtTransaction & aProtTrans,
MRxDataObserver & aObserver
) [protected]

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.

~CRxData()

IMPORT_C ~CRxData ( ) [virtual]

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

Member Functions Documentation

ConstructL()

IMPORT_C void ConstructL ( ) [protected]

Intended Usage: Second phase construction, default

ProtTrans()

IMPORT_C CProtTransaction & ProtTrans ( )

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

Reserved1()

void Reserved1 ( ) [private, inline, virtual]

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

Reserved2()

void Reserved2 ( ) [private, inline, virtual]

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

ResetRxData()

void ResetRxData ( ) [pure virtual]
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.

Member Data Documentation

MRxDataObserver * iObserver

MRxDataObserver * iObserver [protected]

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

CProtTransaction * iProtTrans

CProtTransaction * iProtTrans [protected]

The protocol transaction for which this object represents the encoded received data