MMTPTransactionProxy Class Reference

class MMTPTransactionProxy

Defines the MTP framework transaction proxy handler application interface. This is an internal interface that allows a data provider to complete the processing of a delegated (proxy) request.

Member Functions Documentation

ProxyReceiveDataL(MMTPType &, const TMTPTypeRequest &, MMTPConnection &, TRequestStatus &)

void ProxyReceiveDataL ( MMTPType & aData,
const TMTPTypeRequest & aRequest,
MMTPConnection & aConnection,
TRequestStatus & aStatus
) [pure virtual]
Initiates a data object receive sequence in the MTP transaction proxy handler. This is an asynchronous method. This method should only be invoked when processing the ERequestPhase of an MTP transaction.
leave
KErrNotReady, if invoked when the current MTP transaction phase is not ERequestPhase.

Parameters

MMTPType & aData The MTP data object sink buffer.
const TMTPTypeRequest & aRequest The MTP request dataset of the active MTP transaction.
MMTPConnection & aConnection The handle of the MTP connection on which the transaction is being processed.
TRequestStatus & aStatus The status used to return asynchronous completion information regarding the request.

ProxySendDataL(const MMTPType &, const TMTPTypeRequest &, MMTPConnection &, TRequestStatus &)

void ProxySendDataL ( const MMTPType & aData,
const TMTPTypeRequest & aRequest,
MMTPConnection & aConnection,
TRequestStatus & aStatus
) [pure virtual]
Initiates a data object send sequence in the MTP transaction proxy handler. This is an asynchronous method. This method should only be invoked when processing the ERequestPhase of an MTP transaction.
leave
KErrNotReady, if invoked when the current MTP transaction phase is not ERequestPhase.

Parameters

const MMTPType & aData The MTP data object source buffer.
const TMTPTypeRequest & aRequest The MTP request dataset of the active MTP transaction.
MMTPConnection & aConnection The handle of the MTP connection on which the transaction is being processed.
TRequestStatus & aStatus The status used to return asynchronous completion information regarding the request.

ProxySendResponseL(const TMTPTypeResponse &, const TMTPTypeRequest &, MMTPConnection &, TRequestStatus &)

void ProxySendResponseL ( const TMTPTypeResponse & aResponse,
const TMTPTypeRequest & aRequest,
MMTPConnection & aConnection,
TRequestStatus & aStatus
) [pure virtual]
Initiates a data object an MTP response dataset send sequence in the MTP transaction proxy handler. This is an asynchronous method. This method should only be invoked when processing either the ERequestPhase or EResponsePhase of an MTP transaction.
leave
KErrNotReady, if invoked when the current MTP transaction phase is not ERequestPhase or EResponsePhase.

Parameters

const TMTPTypeResponse & aResponse
const TMTPTypeRequest & aRequest
MMTPConnection & aConnection The handle of the MTP connection on which the transaction is being processed.
TRequestStatus & aStatus The status used to return asynchronous completion information regarding the request.

ProxyTransactionCompleteL(const TMTPTypeRequest &, MMTPConnection &)

void ProxyTransactionCompleteL ( const TMTPTypeRequest & aRequest,
MMTPConnection & aConnection
) [pure virtual]
Signals to the MTP transaction proxy handler that all processing related to the current transaction has been completed. This method should only be invoked when processing the ECompletingPhase of the MTP transaction
leave
KErrNotReady If invoked when the current MTP transaction phase is invalid.

Parameters

const TMTPTypeRequest & aRequest The MTP request dataset that initiated the transaction.
MMTPConnection & aConnection The handle of the MTP connection on which the transaction is being processed.