MMTPTransportConnection Class Reference

class MMTPTransportConnection

Defines the MTP connection transport layer interface.

Member Functions Documentation

BindL(MMTPConnectionProtocol &)

void BindL ( MMTPConnectionProtocol & aProtocol ) [pure virtual]
Binds the MTP protocol layer notification interface to the connection transport layer.
leave
One of the system wide error codes, if a processing failure occurs.

Parameters

MMTPConnectionProtocol & aProtocol The MTP protocol layer notification interface.

BoundProtocolLayer()

MMTPConnectionProtocol & BoundProtocolLayer ( ) [pure virtual]

Provides the MTP protocol layer notification interface which is bound to the connection transport layer.

CloseConnection()

void CloseConnection ( ) [pure virtual]

Initiates a connection shutdown sequence, usually as a result of an unrecoverable MTP protocol error. This sequence is completed when the connection transport layer signals ConnectionClosed to the MTP connection manager interface. MMTPConnectionMgr::ConnectionClosed .

GetExtendedInterface(TUid)

TAny * GetExtendedInterface ( TUid aInterfaceUid ) [pure virtual]

Provides an MTP connection transport layer extension interface implementation for the specified interface Uid.

Parameters

TUid aInterfaceUid Unique identifier for the extension interface being requested.

GetImplementationUid()

TUint GetImplementationUid ( ) [pure virtual]

ReceiveDataCancelL(const TMTPTypeRequest &)

void ReceiveDataCancelL ( const TMTPTypeRequest & aRequest ) [pure virtual]
Aborts an MTP data object receive sequence in-progress in the connection transport layer. This sequence is completed when the connection transport layer signals ReceiveDataComplete to the MTP connection protocol layer interface. ReceiveData MMTPConnectionProtocol::ReceiveDataComplete
leave
One of the system wide error codes, if a processing failure occurs.

Parameters

const TMTPTypeRequest & aRequest The MTP request dataset of the active MTP transaction.

ReceiveDataL(MMTPType &, const TMTPTypeRequest &)

void ReceiveDataL ( MMTPType & aData,
const TMTPTypeRequest & aRequest
) [pure virtual]
Initiates an MTP data object receive sequence in the connection transport layer. This sequence is completed when the transport layer connection signals ReceiveDataComplete to the MTP protocol layer notification interface. MMTPConnectionProtocol::ReceiveDataComplete
leave
One of the system wide error codes, if a processing failure occurs.

Parameters

MMTPType & aData The MTP data object sink.
const TMTPTypeRequest & aRequest The MTP request dataset of the active MTP transaction.

SendDataCancelL(const TMTPTypeRequest &)

void SendDataCancelL ( const TMTPTypeRequest & aRequest ) [pure virtual]
Aborts an MTP data object send sequence in-progress in the connection transport layer. This sequence is completed when the connection transport layer signals SendDataComplete to the MTP connection protocol layer interface. SendData MMTPConnectionProtocol::SendDataComplete
leave
One of the system wide error codes, if a processing failure occurs.

Parameters

const TMTPTypeRequest & aRequest The MTP request dataset of the active MTP transaction.

SendDataL(const MMTPType &, const TMTPTypeRequest &)

void SendDataL ( const MMTPType & aData,
const TMTPTypeRequest & aRequest
) [pure virtual]
Initiates an MTP data object send sequence in the connection transport layer. This sequence is completed when the transport layer connection signals SendDataComplete to the MTP protocol layer notification interface. MMTPConnectionProtocol::SendDataComplete
leave
One of the system wide error codes, if a processing failure occurs.

Parameters

const MMTPType & aData The MTP data object source.
const TMTPTypeRequest & aRequest The MTP request dataset of the active MTP transaction.

SendEventL(const TMTPTypeEvent &)

void SendEventL ( const TMTPTypeEvent & aEvent ) [pure virtual]
Initiates an MTP event dataset send sequence in the connection transport layer. This sequence is completed when the connection transport layer signals SendEventComplete to the MTP connection protocol layer interface. MMTPConnectionProtocol::SendEventComplete
leave
One of the system wide error codes, if a processing failure occurs.

Parameters

const TMTPTypeEvent & aEvent The MTP event data object source.

SendResponseL(const TMTPTypeResponse &, const TMTPTypeRequest &)

void SendResponseL ( const TMTPTypeResponse & aResponse,
const TMTPTypeRequest & aRequest
) [pure virtual]
Initiates an MTP response dataset send sequence in the connection transport layer. This sequence is completed when the connection transport layer signals SendResponseComplete to the MTP connection protocol layer interface. MMTPConnectionProtocol::SendResponseComplete
leave
One of the system wide error codes, if a processing failure occurs.

Parameters

const TMTPTypeResponse & aResponse The MTP response data object source.
const TMTPTypeRequest & aRequest The MTP request dataset of the active MTP transaction.

TransactionCompleteL(const TMTPTypeRequest &)

void TransactionCompleteL ( const TMTPTypeRequest & aRequest ) [pure virtual]
Signals the completion of the active MTP operation request transaction sequence initiated by a preceding ReceivedRequest signal made to the MTP protocol layer notification interface.
leave
One of the system wide error codes, if a processing failure occurs.

Parameters

const TMTPTypeRequest & aRequest The MTP request dataset of the active MTP transaction.

Unbind(MMTPConnectionProtocol &)

void Unbind ( MMTPConnectionProtocol & aProtocol ) [pure virtual]

Unbinds the MTP protocol layer notification interface from the connection transport layer.

Parameters

MMTPConnectionProtocol & aProtocol The MTP protocol layer notification interface.