Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

Enablers: Interprocess Communication (IPC): Data Sharing
Functional Description

Qt Extended Data Sharing (QDS) provides an API to efficiently share and process data between applications, and provides mechanisms for finding and interacting with applications which provide desired QDS services.

Features

Data Sharing

Qt Extended Data Sharing (QDS) provides an API to efficiently share and process data between applications, and provides mechanisms for finding and interacting with applications which provide desired QDS services. For example an application may want to display a street map for a location, instead of doing the conversion itself the application can search for a QDS service which takes a street address and returns an image of the street map.

QDS is a form of remote procedure call, layered on top of Qt Extended services, which is optimized for data processing and sharing. QDS encapsulates data into a typed data object (QDSData) which is provided with the request, the response or both. QDS models the procedure call as an action. Actions are invoked in applications to request a service from an application which provides a QDS service. The provider then handles the action request and responds with any data.

QDS allows applications to share data in an efficient manner. Although it is similar to QDL, it differs in that the data is not application specific, and can therefore be rendered by any application efficiently.

The elements of QDS are as follows:

QDS operates in a manner similar to QDL, in that it uses QCop messages to request and receive shared data. The difference is that the client application receives a key which locates the data in the QDS database instead of an exact copy of the data. This mechanism is more efficient as storing the data in a central location reduces duplication and allows the data to be easily updated and managed.

It is impossible for QDS to impose certain behavior as it is application specific, this includes:


Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3