CMTPTransportPlugin Class Reference
class CMTPTransportPlugin : public CBase
|
Defines the MTP transport layer plug-in interface.
Constructor & Destructor Documentation
CMTPTransportPlugin()
IMPORT_C
|
CMTPTransportPlugin
|
(
|
)
|
[protected]
|
~CMTPTransportPlugin()
IMPORT_C
|
~CMTPTransportPlugin
|
(
|
)
|
[virtual]
|
Member Functions Documentation
GetExtendedInterface(TUid)
TAny
*
|
GetExtendedInterface
|
(
|
TUid
|
aInterfaceUid
|
)
|
[pure virtual]
|
Provides an MTP transport plug-in extension interface implementation for the specified interface Uid.
Parameters
TUid
aInterfaceUid
|
Unique identifier for the extension interface being requested.
|
ModeChanged(TMTPOperationalMode)
void
|
ModeChanged
|
(
|
TMTPOperationalMode
|
aMode
|
)
|
[pure virtual]
|
Notifies the transport layer plug-in of a change in the operational mode of the MTP protocol layer.
Parameters
TMTPOperationalMode
aMode
|
The new operational mode of the MTP protocol layer.
|
NewL(TUid)
MTP transport layer plug-in factory method.
-
leave
-
KErrNoMemory If the plug-in instance could not be allocated.
-
leave
-
KErrArgument If an invalid aImplementationUid was specified.
Parameters
TUid
aImplementationUid
|
A UID specifying the required interface implementation.
|
NewL(TUid, const TAny *)
MTP transport layer plug-in factory method.
-
leave
-
KErrNoMemory If the plug-in instance could not be allocated.
-
leave
-
KErrArgument If an invalid aImplementationUid was specified.
Parameters
TUid
aImplementationUid
|
A UID specifying the required interface implementation.
|
const
TAny
* aParameter
|
is the Parameter needed by MTPBT transport plugin. Since MTPBT support to initiate connection, it require listensee application to provide address and psm for remote host.
|
StartL(MMTPConnectionMgr &)
void
|
StartL
|
(
|
MMTPConnectionMgr &
|
aConnectionMgr
|
)
|
[pure virtual]
|
Initiates the startup of the MTP transport layer. The transport layer should use the supplied MTP connection manager interface to signal the availability and unavailability of transport layer connections. MMTPConnectionMgr::ConnectionClosedL MMTPConnectionMgr::ConnectionOpenedL
-
leave
-
One of the system wide error codes.
Parameters
MMTPConnectionMgr & aConnectionMgr
|
The MTP connection manager interface.
|
Stop(MMTPConnectionMgr &)
void
|
Stop
|
(
|
MMTPConnectionMgr &
|
aConnectionMgr
|
)
|
[pure virtual]
|
Initiates the shutdown of the MTP transport layer. The transport layer should use the supplied connection manager interface to signal the availability and unavailability of transport layer connections. MMTPConnectionMgr::ConnectionClosedL. MMTPConnectionMgr::ConnectionOpenedL.
Parameters
MMTPConnectionMgr & aConnectionMgr
|
The connection manager interface.
|
Member Data Documentation
TUid
iDtorIdKey
TUid
|
iDtorIdKey
|
[private]
|
MTP transport layer ECOM plug-in identifier.
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.