CProtTransaction Class Reference
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.
Constructor & Destructor Documentation
CProtTransaction()
CProtTransaction | ( | ) | [protected] |
CProtTransaction(RHTTPTransaction)
Normal constructor, of a CProtTransaction that corresponds to the supplied client transaction handle. Normal constructor
~CProtTransaction()
IMPORT_C | ~CProtTransaction | ( | ) | [virtual] |
Intended Usage: Destructor - cleans up and releases resources to the system
Member Functions Documentation
CreateRxDataL(MRxDataObserver &)
Intended Usage: Creates the appropriate
CRxData object.
- leave
- KErrNoMemory if there is not enough memory available to create the object.
Parameters
MRxDataObserver & aObserver | A reference to the observer for the Rx data object. |
CreateTxDataL()
void | CreateTxDataL | ( | ) | [pure virtual] |
Intended Usage: Creates the appropriate
CTxData object.
- leave
- KErrNoMemory if there is not enough memory available to create the 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()
IMPORT_C void | ResetRxData | ( | ) | |
Resets the Rx data object. The Rx data object must be created again to be used.
- Post-condition
- The Rx data objects has been reset.
ResetTxData()
IMPORT_C void | ResetTxData | ( | ) | |
Resets the Tx data object. The Tx data object must be created again to be used.
- Post-condition
- The Tx data objects has been reset.
RxData()
Obtain the Receive Data portion of the transaction. Obtain the Received Data portion of the transaction
SetTransactionState(TTransactionState)
Sets the state of the transaction.
- Post-condition
- The state of the transaction has been updated.
Transaction()
Obtain the API-level transaction to which this object corresponds to. Obtain the API-level transaction to which this object corresponds
TransactionState()
Provides the state of the transaction, e.g. pending, active, etc.
TxData()
Obtain the Transmit Data portion of the transaction. Obtain the Transmit Data portion of the transaction
Member Enumerations Documentation
Enum TTransactionState
The TTransactionState type defines the states of a transaction.
Enumerators
EPending = 0 |
Specifies that the transaction is pending servicing.
|
EActive |
Specifies that the transaction is being serviced - active.
|
ECancelled |
Specifies that the transaction has been cancelled.
|
ECompleted |
Specifies that the transaction has completed.
|
Member Data Documentation
TTransactionState
iTransactionState
Transaction state indicator.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.