|
||
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. This class is lower...
Defined in CProtTransaction
:
CProtTransaction(RHTTPTransaction)
Normal constructor, of a CProtTransaction that corresponds to the supplied clien...CreateRxDataL(MRxDataObserver &)
Intended Usage: Creates the appropriate CRxData object. CreateTxDataL()
Intended Usage: Creates the appropriate CTxData object. EActive
Specifies that the transaction is being serviced - active.ECancelled
Specifies that the transaction has been cancelled.ECompleted
Specifies that the transaction has completed.EPending
Specifies that the transaction is pending servicing.Reserved1()
Intended Usage: Reserve a slot in the v-table to preserve future BC Reserved2()
Intended Usage: Reserve a slot in the v-table to preserve future BC ResetRxData()
Resets the Rx data object. The Rx data object must be created again to be used. ResetTxData()
Resets the Tx data object. The Tx data object must be created again to be used. RxData()const
Obtain the Receive Data portion of the transaction. TTransactionState
The TTransactionState type defines the states of a transaction. Transaction()const
Obtain the API-level transaction to which this object corresponds to. TxData()const
Obtain the Transmit Data portion of the transaction. iRxData
The received dataiTrans
The client transactioniTransactionState
Transaction state indicator.iTxData
The transmission data~CProtTransaction()
Destructor - cleans up and releases resources to the system. Inherited from CBase
:
Delete(CBase *)
Deletes the specified object.Extension_(TUint,TAny *&,TAny *)
Extension function operator new(TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)
Initialises the object to binary zeroes.operator new(TUint,TLeave)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)
Allocates the object from the heap and then initialises its contents to binary z...IMPORT_C virtual ~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.