See: Description
| Interface | Description | 
|---|---|
| CdbDiffIterate | 
 The  
CdbDiffIterate interface should be implemented
 by any class whose instances are intended to process or iterate
 through a set of changes. | 
| Class | Description | 
|---|---|
| Cdb | 
 This class represents a connection to  
ConfD/NCS built in
 XML database. | 
| CdbPhase | 
 
 Represents the start-phase CDB is currently in. 
 | 
| CdbProto | 
 General class for protocol constants 
 | 
| CdbSession | 
 The class  
CdbSession represents a session against
 the Cdb database. | 
| CdbSubscription | 
 This class provides subscription functionality to CDB. 
 | 
| CdbTxId | 
 Data structure received from  
Cdb.getTxId() method. | 
| CdbUpgradeSession | 
 The class  
CdbUpgradeSession represents a session against
 the Cdb database that can be used for accessing data models that are
 in the process of being deleted by a cdb upgrade. | 
| Enum | Description | 
|---|---|
| CdbDBType | 
 Database types specified when setting up CDB sessions 
 | 
| CdbGetModificationFlag | |
| CdbLockType | 
 
 DB lock type flag for Cdb Sessions which controls locking of
 sessions. 
 | 
| CdbNotificationType | 
 Subscription notification type retrieved from getLatestNotificationType()
 method 
 | 
| CdbSubscrConfigFlag | 
 Distinguish the different types of subscription notifications 
 | 
| CdbSubscriptionFlagType | 
 Distinguish the different types of subscription notifications 
 | 
| CdbSubscriptionSyncType | 
 Subscription Synchronization type used in sync() method 
 | 
| CdbSubscriptionType | 
 Subscription type used in subscribe() method 
 | 
| Exception | Description | 
|---|---|
| CdbException | 
 Cdb package generic exception 
 | 
| CdbExtendedException | 
 This exception is used by clients of CdbSubscription that needs to report
 errors. 
 | 
 // Setup socket to server
 Socket s = new Socket("localhost", 4565);
 Cdb cdb = new Cdb("test", s);
 CdbSession session = cdb.startSession();
 session.cd("/mtest/servers/");
 ConfValue val = session.getElem("server{www}/ip");
 session.endSession();
 s.close();
 
 The CDB subscription mechanism allows an external program to be notified
 when different parts
 of the configuration changes. At the time of notification it is also
 possible to iterate through the changes written to CDB. Subscriptions are
 always towards the running datastore
 (it is not possible to subscribe to changes to the startup datastore).
 Subscriptions towards the operational data kept in CDB are also possible,
 but the mechanism is slightly different.