|
|
|
|
Location:
cprottransaction.h
Link against: http.lib
class CProtTransaction : public CBase;
A representation of a transaction used by protocol handlers. This class is lower-level than the RHTTPTransaction class, since it owns objects that represent the request and response data as transmitted and received over a transport medium.
CBase - Base class for all classes to be instantiated on the heap
CProtTransaction - A representation of a transaction used by protocol handlers
Defined in CProtTransaction:
CProtTransaction(), CreateRxDataL(), CreateTxDataL(), EActive, ECancelled, ECompleted, EPending, Reserved1(), Reserved2(), ResetRxData(), ResetTxData(), RxData(), TTransactionState, Transaction(), TxData(), iRxData, iTrans, iTransactionState, iTxData, ~CProtTransaction()
Inherited from CBase:
Delete(),
Extension_(),
operator new()
virtual IMPORT_C ~CProtTransaction();
Destructor - cleans up and releases resources to the system.
Intended Usage: Destructor - cleans up and releases resources to the system
protected: IMPORT_C CProtTransaction(RHTTPTransaction aTrans);
Normal constructor, of a CProtTransaction that corresponds to the supplied client transaction handle.
|
IMPORT_C void ResetRxData();
Resets the Rx data object. The Rx data object must be created again to be used.
The Rx data objects has been reset.
IMPORT_C void ResetTxData();
Resets the Tx data object. The Tx data object must be created again to be used.
The Tx data objects has been reset.
IMPORT_C RHTTPTransaction Transaction() const;
Obtain the API-level transaction to which this object corresponds to.
|
IMPORT_C CTxData &TxData() const;
Obtain the Transmit Data portion of the transaction.
|
IMPORT_C CRxData &RxData() const;
Obtain the Receive Data portion of the transaction.
|
virtual void CreateTxDataL()=0;
Intended Usage: Creates the appropriate CTxData object.
|
virtual void CreateRxDataL(MRxDataObserver &aObserver)=0;
Intended Usage: Creates the appropriate CRxData object.
|
|
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
TTransactionState
The TTransactionState type defines the states of a transaction.
|
protected: TTransactionState iTransactionState;
Transaction state indicator.