MMTPTransportConnection Class Reference

class MMTPTransportConnection

Defines the MTP connection transport layer interface.

Member Functions Documentation

BindL(MMTPConnectionProtocol &)

voidBindL(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 & aProtocolThe 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()

voidCloseConnection()[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(TUidaInterfaceUid)[pure virtual]

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

Parameters

TUid aInterfaceUidUnique identifier for the extension interface being requested.

GetImplementationUid()

TUint GetImplementationUid()[pure virtual]

ReceiveDataCancelL(const TMTPTypeRequest &)

voidReceiveDataCancelL(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 & aRequestThe MTP request dataset of the active MTP transaction.

ReceiveDataL(MMTPType &, const TMTPTypeRequest &)

voidReceiveDataL(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 & aDataThe MTP data object sink.
const TMTPTypeRequest & aRequestThe MTP request dataset of the active MTP transaction.

SendDataCancelL(const TMTPTypeRequest &)

voidSendDataCancelL(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 & aRequestThe MTP request dataset of the active MTP transaction.

SendDataL(const MMTPType &, const TMTPTypeRequest &)

voidSendDataL(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 & aDataThe MTP data object source.
const TMTPTypeRequest & aRequestThe MTP request dataset of the active MTP transaction.

SendEventL(const TMTPTypeEvent &)

voidSendEventL(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 & aEventThe MTP event data object source.

SendResponseL(const TMTPTypeResponse &, const TMTPTypeRequest &)

voidSendResponseL(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 & aResponseThe MTP response data object source.
const TMTPTypeRequest & aRequestThe MTP request dataset of the active MTP transaction.

TransactionCompleteL(const TMTPTypeRequest &)

voidTransactionCompleteL(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 & aRequestThe MTP request dataset of the active MTP transaction.

Unbind(MMTPConnectionProtocol &)

voidUnbind(MMTPConnectionProtocol &aProtocol)[pure virtual]

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

Parameters

MMTPConnectionProtocol & aProtocolThe MTP protocol layer notification interface.