class MMTPDataProviderFramework |
Defines the MTP data provider framework layer application programming interface.
MMTPDataCodeGenerator & | DataCodeGenerator | ( | ) | const [pure virtual] |
Provides a handle to the MTP datacode generator, which generate the datacode of service properties , formats and methods etc.
const MMTPDataProviderConfig & | DataProviderConfig | ( | ) | const [pure virtual] |
Provides a handle to the configurability data specified in the data provider's configuration file.
TUint | DataProviderId | ( | ) | const [pure virtual] |
Provides the unique identifier of the calling data provider.
const MMTPFrameworkConfig & | FrameworkConfig | ( | ) | const [pure virtual] |
Provides a handle to the data provider framework configurability parameter data.
RFs & | Fs | ( | ) | const [pure virtual] |
Provides a handle to the MTP data provider framework RFs session.
void | NotifyFrameworkL | ( | TMTPNotificationToFramework | aNotification, |
const TAny * | aParams | |||
) | [pure virtual] |
TMTPNotificationToFramework aNotification | The notification type identifier. |
const TAny * aParams | The notification type specific parameter block |
void | ObjectEnumerationCompleteL | ( | TUint32 | aStorageId | ) | [pure virtual] |
Signals the completion of the data provider's object store enumeration sequence that was previously initiated by a StartObjectEnumerationL signal made to the MTP data provider interface. MMTPDataProvider::StartObjectEnumerationL
TUint32 aStorageId | The MTP StorageID of the enumerated storage. This should match the value specified in the preceding StartObjectEnumerationL. |
MMTPObjectMgr & | ObjectMgr | ( | ) | const [pure virtual] |
Provides a handle to the MTP object manager, which manages the assignment of MTP object handles and their mapping to actual data objects on behalf of the data provider.
void | ReceiveDataL | ( | MMTPType & | aData, |
const TMTPTypeRequest & | aRequest, | |||
MMTPConnection & | aConnection | |||
) | [pure virtual] |
MMTPType & aData | The MTP data object sink buffer. |
const TMTPTypeRequest & aRequest | The MTP request dataset of the active MTP transaction. |
MMTPConnection & aConnection | The handle of the MTP connection on which the transaction is being processed. |
MMTPReferenceMgr & | ReferenceMgr | ( | ) | const [pure virtual] |
Provides a handle to the MTP object reference manager, to which data providers can delegate the handling of the MTP persistent, abstract object referencing mechanism.
void | RegisterPendingRequest | ( | TUint | aTimeOut = 0 | ) | [pure virtual] |
Register the current request as pending request. The pending request will be handled after enumeration done.
TUint aTimeOut = 0 |
void | RouteRequestRegisterL | ( | const TMTPTypeRequest & | aRequest, |
MMTPConnection & | aConnection | |||
) | [pure virtual] |
Registers the calling data provider to receive one or more occurrences of the specified request dataset that are received on the specified connection. This method should be used to register the calling data provider to receive the following request types:
1. Follow-on requests of an MTP operation that can span multiple transaction cycles. The following request types are recognised by the framework as follow-on requests:
i) SendObject (preceded by SendObjectInfo or SendObjectPropList). ii) TerminateOpenCapture (preceded by InitiateOpenCapture).
2. MTP vendor extension requests.
Note that:
1. The request dataset being registered must minimally specify the Operation Code of the expected operation and the SessionID on which the operation request is expected to be received.
Follow-on request registrations MUST specify a specific SessionID. Registrations of non follow-on requests may optionally specify a SessionID of KMTPSessionAll to receive matching requests from any active MTP session.2. With the exception of the TransactionID element, registered request datasets must exactly match all data elements of the expected request dataset in order to be successfully routed.
3. Duplicate RouteRequestRegisterL registrations are not permitted. A request dataset that matches that of a previous registration by this or any other data provider on the same MTP session will result in the previous registration being superceded.
const TMTPTypeRequest & aRequest | The operation request dataset being registered. |
MMTPConnection & aConnection | The handle of the MTP connection on which the operation request is expected to be received. |
void | RouteRequestUnregisterL | ( | const TMTPTypeRequest & | aRequest, |
MMTPConnection & | aConnection | |||
) | [pure virtual] |
const TMTPTypeRequest & aRequest | The registered operation request dataset. |
MMTPConnection & aConnection | The handle of the MTP connection for which the operation request was registered. |
void | SendDataL | ( | const MMTPType & | aData, |
const TMTPTypeRequest & | aRequest, | |||
MMTPConnection & | aConnection | |||
) | [pure virtual] |
const MMTPType & aData | The MTP data object source buffer. |
const TMTPTypeRequest & aRequest | The MTP request dataset of the active MTP transaction. |
MMTPConnection & aConnection | The handle of the MTP connection on which the transaction is being processed. |
void | SendEventL | ( | const TMTPTypeEvent & | aEvent, |
MMTPConnection & | aConnection | |||
) | [pure virtual] |
const TMTPTypeEvent & aEvent | The MTP event dataset source buffer. |
MMTPConnection & aConnection | The handle of the MTP connection on which the event is to be sent. |
void | SendEventL | ( | const TMTPTypeEvent & | aEvent | ) | [pure virtual] |
const TMTPTypeEvent & aEvent | The MTP event dataset source, this should always target all open sessions, i.e. SessionID should be set to KMTPAllSessions. |
void | SendResponseL | ( | const TMTPTypeResponse & | aResponse, |
const TMTPTypeRequest & | aRequest, | |||
MMTPConnection & | aConnection | |||
) | [pure virtual] |
const TMTPTypeResponse & aResponse | The MTP aResponse dataset source buffer. |
const TMTPTypeRequest & aRequest | |
MMTPConnection & aConnection | The handle of the MTP connection on which the transaction is being processed. |
void | StorageEnumerationCompleteL | ( | ) | [pure virtual] |
Signals the completion of the data provider's storage enumeration sequence that was previously initiated by a StartStorageEnumerationL signal made to the MTP data provider interface. MMTPDataProvider::StartStorageEnumerationL
MMTPStorageMgr & | StorageMgr | ( | ) | const [pure virtual] |
Provides a handle to the MTP storage manager, which manages the assignment of MTP storage identifiers on behalf of the data provider.
void | TransactionCompleteL | ( | const TMTPTypeRequest & | aRequest, |
MMTPConnection & | aConnection | |||
) | [pure virtual] |
const TMTPTypeRequest & aRequest | The MTP request dataset of the active MTP transaction. |
MMTPConnection & aConnection | The handle of the MTP connection on which the transaction is being processed. |
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.