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.
Public Member Functions |
---|
void | ProxyReceiveDataL(MMTPType &, const TMTPTypeRequest &, MMTPConnection &, TRequestStatus &) |
void | ProxySendDataL(const MMTPType &, const TMTPTypeRequest &, MMTPConnection &, TRequestStatus &) |
void | ProxySendResponseL(const TMTPTypeResponse &, const TMTPTypeRequest &, MMTPConnection &, TRequestStatus &) |
void | ProxyTransactionCompleteL(const TMTPTypeRequest &, MMTPConnection &) |
Member Functions Documentation
ProxyReceiveDataL(MMTPType &, const TMTPTypeRequest &, MMTPConnection &, TRequestStatus &)
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 &)
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 &)
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.
ProxyTransactionCompleteL(const TMTPTypeRequest &, MMTPConnection &)
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. |
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.