MMTPConnectionProtocol Class Reference
class MMTPConnectionProtocol |
Defines the MTP connection protocol layer interface.
Member Functions Documentation
ConnectionId()
TUint
| ConnectionId | ( | ) | const [pure virtual] |
Provides the unique MTP protocol layer assigned identifier of the connection.
DisconnectionNotifyL()
void | DisconnectionNotifyL | ( | ) | [pure virtual] |
ReceiveDataCompleteL(TInt, const MMTPType &, const TMTPTypeRequest &)
Signals the completion of an MTP data object receive sequence in the MTP transport layer connection, that was previously initiated by a ReceiveData signal to the transport layer connection interface.
- leave
- One of the system wide error codes, if a processing failure occurs.
MMTPCMMTPTransportConnection::ReceiveData MMTPCMMTPTransportConnection::ReceiveDataCancel
Parameters
TInt aErr | A system wide error code indicating the completion status of the sequence. |
const MMTPType & aData | The MTP data object sink. |
const TMTPTypeRequest & aRequest | The MTP request dataset of the active MTP transaction. |
ReceivedEventL(const TMTPTypeEvent &)
Signals the availability of an MTP event data object received from the MTP transport layer connection.
- leave
- One of the system wide error codes, if a processing failure occurs.
ReceivedRequestL(const TMTPTypeRequest &)
Signals the availability of an MTP request data object received from the MTP transport layer connection.
- leave
- One of the system wide error codes, if a processing failure occurs.
SendDataCompleteL(TInt, const MMTPType &, const TMTPTypeRequest &)
Signals the completion of an MTP data object send sequence in the MTP transport layer connection, that was previously initiated by a SendData signal to the transport layer connection interface.
- leave
- One of the system wide error codes, if a processing failure occurs.
MMTPCMMTPTransportConnection::SendData MMTPCMMTPTransportConnection::SendDataCancel
Parameters
TInt aErr | A system wide error code indicating the completion status of the sequence. |
const MMTPType & aData | The MTP data object source. |
const TMTPTypeRequest & aRequest | The MTP request dataset of the active MTP transaction. |
SendEventCompleteL(TInt, const TMTPTypeEvent &)
Signals the completion of an MTP event data object send sequence in the MTP transport layer connection, that was previously initiated by a SendEvent signal to the transport layer connection interface.
- leave
- One of the system wide error codes, if a processing failure occurs.
MMTPCMMTPTransportConnection::SendEvent
Parameters
TInt aErr | A system wide error code indicating the completion status of the sequence. |
const TMTPTypeEvent & aData | The MTP event data object source. |
SendResponseCompleteL(TInt, const TMTPTypeResponse &, const TMTPTypeRequest &)
Signals the completion of an MTP response data object send sequence in the MTP transport layer connection, that was previously initiated by a SendResponse signal to the transport layer connection interface.
- leave
- One of the system wide error codes, if a processing failure occurs.
MMTPCMMTPTransportConnection::SendResponse
Parameters
TInt aErr | A system wide error code indicating the completion status of the sequence. |
const TMTPTypeResponse & aResponse | The MTP response data object source. |
const TMTPTypeRequest & aRequest | The MTP request dataset of the active MTP transaction. |
TransactionPhaseL(TUint32)
Provides the current MTP transaction state for the specified session.
- leave
- KErrArgument, if the specified session identifier is not currently active on the connection.
Parameters
TUint32 aMtpSessionId | The MTP connection assigned identifier of the requested session. |
Unbind(MMTPTransportConnection &)
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.