MMTPTransportConnection Class Reference
class MMTPTransportConnection
|
Defines the MTP connection transport layer interface.
Member Functions Documentation
BindL(MMTPConnectionProtocol &)
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.
BoundProtocolLayer()
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 &)
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 &)
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 &)
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 &)
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.
SendResponseL(const TMTPTypeResponse &, const TMTPTypeRequest &)
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 &)
Unbinds the MTP protocol layer notification interface from the connection transport layer.
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.