Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



CommDb Overview


Purpose

Provides system-wide storage for communications-related settings. It holds information about Internet Access Providers (IAPs), Internet Service Providers (ISPs), GPRS, modems, locations, charge-cards, proxies, and WAP settings.

[Top]


Architectural relationships

Communications settings are written mostly by control panel communications applets, or other specialised communications setup applications. Communications settings are commonly read by other communications sub-systems, such as Networking, Telephony, and WAP.

CommDb stores the settings in a series of tables in a relational database, using the DBMS architecture. DBMS is a client/server architecture and provides for safe access by multiple clients.

[Top]


Description

The API has two key concepts: communications database, and table view.


Communications database interface

The Communications database interface allows clients to access the database, open its tables, and perform transactions. It is provided by CCommsDatabase and its base class CCommsDatabaseBase.


Table view

Most database settings are read and written to by opening the appropriate table. Table access is provided by CCommsDbTableView.

The type of tables are as follows:

It is possible for several instances of most of the tables (e.g. where multiple IAPs have been set up) to exist in the database. The Connected preferences table sets a ranking by which such records are used. That table is accessed through its own view class CCommsDbConnectionPrefTableView.

[Top]


See also

DBMS Overview